Skip to content

Conversation

kfindeisen
Copy link
Member

This PR migrates our log metadata management from RecordFactoryContextAdapter to daf.butler.logging.ButlerMDC, and removes the former. This PR depends on lsst/daf_butler#1240 for full functionality, otherwise exceptions will be logged without metadata.

The new logging_context decorator wraps the actual logging framework and
keeps client code like the activator from needing to change. Different
components of the logging module *do* still depend on using the correct
implementation.
This is the first step in a broader transition to use Butler logging to
handle our pipelines.
This class has been replaced entirely by
lsst.daf.butler.logging.ButlerMDC.
@kfindeisen kfindeisen requested a review from timj August 28, 2025 00:42
@kfindeisen
Copy link
Member Author

Upstream changes should appear on d_2025_08_29.

@kfindeisen kfindeisen merged commit 92855d5 into main Sep 4, 2025
14 of 15 checks passed
@kfindeisen kfindeisen deleted the tickets/DM-42272 branch September 4, 2025 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants