adding date attribute to the log