adding timestamp to logs