I have experienced similar situation. refer to the below output, show clock and log time stamp is totally different
To solve this problem, need to set log timestamps to local time (system time).
issue the below command
SW-2(config)#conf t
SW-2(config)#service timestamps log datetime localtime
SW-2(config)#exit
SW-2#wr
after that, the problem should be solved, below output prove that