Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better logger config #2170

Merged
merged 7 commits into from
Sep 12, 2024
Merged

Better logger config #2170

merged 7 commits into from
Sep 12, 2024

Conversation

pshirshov
Copy link
Member

@pshirshov pshirshov commented Aug 14, 2024

Major cleanup. Switched to WildcardPrefixTree

There are several important improvements:

  1. Logging rules now support wildcards (my.package.*.something)
  2. ConfigurableLogRouter now supports specifying different sinks for different prefixes (previously it only supported one set of sinks). This can be configured programmatically but not in the config (yet?)

@pshirshov pshirshov marked this pull request as ready for review August 14, 2024 18:23
@pshirshov pshirshov requested a review from neko-kai as a code owner August 14, 2024 18:23
Copy link

codecov bot commented Aug 14, 2024

Codecov Report

Attention: Patch coverage is 74.19355% with 40 lines in your changes missing coverage. Please review.

Project coverage is 66.56%. Comparing base (3b78e62) to head (5617a5e).
Report is 14 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2170   +/-   ##
========================================
  Coverage    66.55%   66.56%           
========================================
  Files          592      593    +1     
  Lines        11533    11566   +33     
  Branches      1316     1331   +15     
========================================
+ Hits          7676     7699   +23     
- Misses        3857     3867   +10     

@pshirshov pshirshov force-pushed the wip/cleaner-logger-config branch from a079120 to d4f4843 Compare August 15, 2024 21:20
@neko-kai neko-kai merged commit 75befda into develop Sep 12, 2024
33 checks passed
@neko-kai neko-kai deleted the wip/cleaner-logger-config branch September 12, 2024 11:47
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