You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "dstandish (via GitHub)" <gi...@apache.org> on 2025/08/05 16:19:46 UTC

[I] Logs no longer show the call site file and line number [airflow]

dstandish opened a new issue, #54145:
URL: https://github.com/apache/airflow/issues/54145

   ### Body
   
   Since Airflow 3.0, logs are missing the source code filename and line number from the log output.
   
   
   ### Committer
   
   - [x] I acknowledge that I am a maintainer/committer of the Apache Airflow project.


-- 
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] Logs no longer show the call site file and line number [airflow]

Posted by "kaxil (via GitHub)" <gi...@apache.org>.
kaxil closed issue #54145: Logs no longer show the call site file and line number
URL: https://github.com/apache/airflow/issues/54145


-- 
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] Logs no longer show the call site file and line number [airflow]

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

   Hi @dstandish I could reproduce this. I also see there's a source="...ClassName" after each log. If this is a bug but not an intended feature, I'm insterested in fixing this. Can you assign this to me?


-- 
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] Logs no longer show the call site file and line number [airflow]

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

   @yaming-github How do you propose fixing this?


-- 
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] Logs no longer show the call site file and line number [airflow]

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

   > [@yaming-github](https://github.com/yaming-github) How do you propose fixing this?
   
   Hi @ashb thanks for replying. Several things in my mind:
   
   1. We switched to use structlog as logging engine from this pr https://github.com/apache/airflow/pull/43893, but structlog.processors.CallsiteParameterAdder was not added as part of the processor chains. So I think we could start with adding that processor and test first.
   2. log_format in the config file was not respected anymore since 3+, so I think that could be a problem. If we add those call site parameters in the event disctionary, I think we will be able to fix that.
   3. Based on 1 and 2, we might also need to change how we render the log at frontend side. I haven't looked into that, but I guess should not be a bug issue.
   
   What do you think?


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