From inside a running task these should already show up in the task instance 
log. Do they not?

Or do you want the logging from parsing the DAG itself? These probably get 
routed to $AIRFLOW_HOME/logs/scheduler/latest/$dag_id.log (path approximate - 
from memory)

-ash

> On 1 Jun 2018, at 19:02, [email protected] wrote:
> 
> 
> Hi 
> 
> I would like to know if their is any possibilities where we could use the 
> airflow logger config to handle logging from external modules used into any 
> DAGs Workflow.
> 
> For example :
> 
> Let's say I have a DAG which use this lib mylib.utils 
> 
> If mylib.utils has a log = logging.getLogger(__name__) defined
> 
> Would their be a way to catch this logger into airflow config and display 
> those logs to STDOUT ? 

Reply via email to