first commit on the branch

Added logging.