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

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

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

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

Reply via email to