Fix log to call right logger.