Fix time display in logs