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] [Updated] (AIRFLOW-2180) Import Errors on Custom Logging Produce Unhelpful Messages
Date Mon, 05 Mar 2018 21:20:00 GMT

     [ https://issues.apache.org/jira/browse/AIRFLOW-2180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kevin Lawrence Pamplona updated AIRFLOW-2180:
---------------------------------------------
    Attachment: Screen Shot 2018-03-05 at 1.19.07 PM.png

> 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
>            Priority: Minor
>         Attachments: Screen Shot 2018-03-05 at 1.19.07 PM.png
>
>
> 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