Difference on date in log and database

Hi. Sometimes i have difference date in log and database (queue_log and cel table). (Note:Asterisk server and database server in different machines).
What is reason?
Example:
[2018-04-03 16:27:46] VERBOSE[3060][C-0003b816] app_queue.c: – SIP/144-0005673a answered SIP/195-00056725
in tables date is 16:27:50 but in log 16:27:46