github-actions[bot] opened a new pull request, #76030:
URL: https://github.com/apache/airflow/pull/76030
* Honor Airflow logging levels in TypeScript SDK
* Harden TS SDK log level filtering
- Keep the helper method's level when args carry a `level` field, so a
non-string value can no longer crash `send()`.
- Filter levels outside LogLevel as INFO instead of letting them bypass
the threshold.
- Filter by the channel's own name, matching the `[name]` event prefix,
rather than a caller-supplied `logger` field.
- Report an invalid `logging_level` instead of silently using INFO.
- Drop FATAL so accepted names match structlog's NAME_TO_LEVEL.
- Extract namespace_levels parsing and resolve each channel's threshold
once at construction.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Restore FATAL log level alias in TS SDK
Airflow's configure_logging adds a `fatal` alias to NAME_TO_LEVEL before
parsing logging_level and namespace_levels, so Python accepts FATAL.
Removing it made the TS SDK reject a setting the Python side honors.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Address review: rename threshold to logLevel and trim comments
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
(cherry picked from commit 5cc2413925ae71ecd5951195463d9df78081b55c)
Co-authored-by: Shivam Rastogi <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
--
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]