Fix logging time issue

Logging is displaying wrong time