whitleykeith commented on issue #16001:
URL: https://github.com/apache/airflow/issues/16001#issuecomment-904798933


   I've had this issue for a while now, but I was able to resolve it by adding 
this to the top of my `dag.py` file.
   
   
   ```python
   # Set Task Logger to INFO for better task logs
   log = logging.getLogger("airflow.task")
   handler = logging.StreamHandler(sys.stdout)
   handler.setLevel(logging.INFO)
   log.addHandler(handler)
   ```
   
   It does pretty much what @hsnprsd had in his class, but doesn't require 
overriding the default logging config. 


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

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to