You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "goransh-buh (via GitHub)" <gi...@apache.org> on 2026/06/19 08:08:59 UTC

[I] Add logging support for better observability [airflow]

goransh-buh opened a new issue, #68744:
URL: https://github.com/apache/airflow/issues/68744

   ## Feature Request
   
   ### Summary
   The project would benefit from structured logging to make it easier to debug issues in production.
   
   ### Motivation
   Currently it can be difficult to understand what the application is doing at runtime without adding print statements. Proper logging would:
   
   - Allow users to control verbosity with log levels (DEBUG, INFO, WARNING, ERROR)
   - Make it easier to integrate with log aggregation systems
   - Help diagnose issues in production without code changes
   
   ### Proposed Implementation
   ```python
   import logging
   
   log = logging.getLogger(__name__)
   
   def my_function():
       log.debug("Starting my_function")
       # ... 
       log.info("my_function completed successfully")
   ```
   
   ### Impact
   Low risk change with high value for users running this in production environments.
   


-- 
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-unsubscribe@airflow.apache.org.apache.org

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


Re: [I] Add logging support for better observability [airflow]

Posted by "jroachgolf84 (via GitHub)" <gi...@apache.org>.
jroachgolf84 closed issue #68744: Add logging support for better observability
URL: https://github.com/apache/airflow/issues/68744


-- 
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-unsubscribe@airflow.apache.org

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


Re: [I] Add logging support for better observability [airflow]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #68744:
URL: https://github.com/apache/airflow/issues/68744#issuecomment-4749705464

   Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
   


-- 
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-unsubscribe@airflow.apache.org

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


Re: [I] Add logging support for better observability [airflow]

Posted by "FrankYang0529 (via GitHub)" <gi...@apache.org>.
FrankYang0529 commented on issue #68744:
URL: https://github.com/apache/airflow/issues/68744#issuecomment-4750229144

   IIUC, we already can do this in Airflow.
   
   * https://airflow.apache.org/docs/apache-airflow/stable/administration-and-deployment/logging-monitoring/logging-tasks.html#writing-to-task-logs-from-your-code
   * https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#namespace-levels


-- 
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-unsubscribe@airflow.apache.org

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


Re: [I] Add logging support for better observability [airflow]

Posted by "jroachgolf84 (via GitHub)" <gi...@apache.org>.
jroachgolf84 commented on issue #68744:
URL: https://github.com/apache/airflow/issues/68744#issuecomment-4756099037

   This can already be done, closing.


-- 
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-unsubscribe@airflow.apache.org

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