Adding date to log messages