correct timestamp in logging