adding timestamp to the log