using local time when logging message