Fix a typo bug in call to logging.