You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/12/02 08:57:00 UTC

[jira] [Commented] (AIRFLOW-1872) All parent handlers should be tried for set_context

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

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

Commit f18e2550543e455c9701af0995bc393ee6a97b47 in incubator-airflow's branch refs/heads/v1-9-stable from [~bolke]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=f18e255 ]

[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

(cherry picked from commit 406d738b1cf657b5ee6163bc26ab6fdea891576d)
Signed-off-by: Bolke de Bruin <bo...@xs4all.nl>


> 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)