Add datetime field to log files