typo fixes for logging.