Changed log time to local time