fix log_core and base_logger bug