ashb commented on code in PR #54433:
URL: https://github.com/apache/airflow/pull/54433#discussion_r2285134970
##########
task-sdk/src/airflow/sdk/log.py:
##########
@@ -451,7 +460,9 @@ def _showwarning(
_warnings_showwarning(message, category, filename, lineno, file,
line)
else:
log = structlog.get_logger(logger_name="py.warnings")
- log.warning(str(message), category=category.__name__,
filename=filename, lineno=lineno)
+ log.warning(
+ str(message), category=category.__name__,
filename=os.path.basename(filename), lineno=lineno
Review Comment:
Everything should probably be the full file name -- the fact that only the
basename was shown was a display/formatted consideration, which should be done
on the frontend really now.
--
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]