Skip to content

Refactor telephony.log logging to use common interface to enable including metadata in logs#8765

Merged
mitchellhenke merged 2 commits intomainfrom
mitchellhenke/telephony-log-disambiguation
Jul 12, 2023
Merged

Refactor telephony.log logging to use common interface to enable including metadata in logs#8765
mitchellhenke merged 2 commits intomainfrom
mitchellhenke/telephony-log-disambiguation

Conversation

@mitchellhenke
Copy link
Contributor

🛠 Summary of changes

A small followup to #8610 to add log_filename to the Telephony logger. This one was a bit more involved than the ones in #8610 since previously calls were being made directly to Telephony.config.logger. This PR refactors the logging to put it behind a method so that we can add the metadata to all logging calls.

…uding metadata

changelog: Internal, Logging, Refactor telephony.log logging to use common interface to enable including metadata
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mitchellhenke mitchellhenke merged commit 5309e97 into main Jul 12, 2023
@mitchellhenke mitchellhenke deleted the mitchellhenke/telephony-log-disambiguation branch July 12, 2023 18:52
@aduth aduth mentioned this pull request Jul 17, 2023
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