Adding timestamp to logging.