airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-1872) All parent handlers should be tried for set_context
Date Sat, 02 Dec 2017 08:57:00 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-1872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16275484#comment-16275484
] 

ASF subversion and git services commented on AIRFLOW-1872:
----------------------------------------------------------

Commit 406d738b1cf657b5ee6163bc26ab6fdea891576d in incubator-airflow's branch refs/heads/master
from [~bolke]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=406d738 ]

[AIRFLOW-1872] Set context for all handlers including parents

Previously setting the context was not propagated
to the parent
loggers. Unfortnately, in case of a non explicitly
defined logger
the returned logger is shallow, ie. it does not
have handlers
defined. So to set the context it is required to
walk the tree.

Closes #2831 from bolkedebruin/fix_logging


> All parent handlers should be tried for set_context
> ---------------------------------------------------
>
>                 Key: AIRFLOW-1872
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1872
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Bolke de Bruin
>             Fix For: 1.9.0
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message