airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Lawrence Pamplona (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-2180) Import Errors on Custom Logging Produce Unhelpful Messages
Date Mon, 05 Mar 2018 21:19:00 GMT
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)

Mime
View raw message