ewjmulder commented on issue #8484:
URL: https://github.com/apache/airflow/issues/8484#issuecomment-628644762


   @davido912 In the Airflow project the example config is in the 
airflow_local_settings.py file indeed. But you can customize this with the 
`logging_config_class = ...` setting in airflow.cfg (as we have done). Either 
way, it boils down to a dictionary variable called something like 
`(DEFAULT_)LOGGING_CONFIG` that contains (among others) the `formatters`, 
`handlers` and `loggers` properties. Inside that `loggers` property the various 
loggers are defined and that is where you should add one with as key the 
Airflow package name for which you are missing the logging (for instance 
`airflow.contrib`), see the example snippet in my comment above.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to