consistent logging with date and time