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:20:00 UTC
[jira] [Updated] (AIRFLOW-2180) Import Errors on Custom Logging
Produce Unhelpful Messages
[ 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)