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

Vardan Gupta commented on AIRFLOW-4457:
---------------------------------------

[~ash] 

We wanted to bring this change by introducing a custom task handler in contrib 
folder(the approach we discussed earlier on slack as well) and appender we were 
adding can be customised through a key in airflow.cfg. Would you mind giving 
quick look at our suggested changes? This might help others.

https://github.com/apache/airflow/compare/master...kani5hk:task_logger  

> Enhance Task logs by providing the task context
> -----------------------------------------------
>
>                 Key: AIRFLOW-4457
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4457
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: logging
>            Reporter: Kanishk Lohumi
>            Assignee: Kanishk Lohumi
>            Priority: Major
>
> In Some scenarios where the airflow logs are being forwarded to external 
> central destination like splunk, it may be cumbersome to search the logs 
> corresponding to task execution amid all the airflow logs from different 
> loggers.
> There should be a way to append the task logs with some task context to 
> facilitate searching those logs for the debugging or some other purpose.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to