Little fix on logging.