You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kevin Lawrence Pamplona (JIRA)" <ji...@apache.org> on 2018/03/05 21:19:00 UTC

[jira] [Created] (AIRFLOW-2180) Import Errors on Custom Logging Produce Unhelpful Messages

Kevin Lawrence Pamplona created AIRFLOW-2180:
------------------------------------------------

             Summary: Import Errors on Custom Logging Produce Unhelpful Messages
                 Key: AIRFLOW-2180
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2180
             Project: Apache Airflow
          Issue Type: Bug
            Reporter: Kevin Lawrence Pamplona


Repro Steps:
1. Use airflow.cfg with missing [core/remote_logging] field
2. Start airflow or run `PYTHONPATH=config/ python -c 'import log_conf'`given that custom logging config is in config/log_conf.py

Execution will produce an irrelevant error:
'Unable to load custom logging from {}'.format(logging_class_path)
ImportError: Unable to load custom logging from log_config.LOGGING_CONFIG
No handlers could be found for logger "airflow.utils.log.logging_mixin.LoggingMixin"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)