logging for date