potiuk commented on issue #30740:
URL: https://github.com/apache/airflow/issues/30740#issuecomment-1515409432

   @matteosdocsity 
   
   ```
   def print_hello_world(ds):
       # with default airflow logging settings, DEBUG logs are ignored
       logger.info("This log is at the level of INFO")
   ```
   
   How do you get the logger here ? Is it just the `logger = 
logging.getLogger(__name__)` ? or logging.getLogger("airflow.task")?
   
   Note that in my first PR /doc I used "airflow.task" but `__name__` is 
generally better approach. Can you check with it?


-- 
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: [email protected]

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

Reply via email to