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

fix logging middle don't get trace_id value when logger is filterLogger #2869

Merged
merged 3 commits into from
Jun 16, 2023

Conversation

freezeChen
Copy link
Contributor

Description (what this PR does / why we need it):

fix logging middle don't get trace_id value when logger is filterLogger

Which issue(s) this PR fixes (resolves / be part of):

#2570
#2571

fix logging middle don't get trace_id value when logger is filterLogger

Which issue(s) this PR fixes (resolves / be part of):
 go-kratos#2570
 go-kratos#2571
@freezeChen freezeChen changed the title Fix/filter read context fix logging middle don't get trace_id value when logger is filterLogger Jun 15, 2023
@codecov-commenter
Copy link

Codecov Report

Merging #2869 (af2fcd7) into main (e86ad24) will increase coverage by 0.04%.
The diff coverage is 100.00%.

❗ Current head af2fcd7 differs from pull request most recent head 7e3db95. Consider uploading reports for the commit 7e3db95 to get more accurate results

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main    #2869      +/-   ##
==========================================
+ Coverage   84.42%   84.47%   +0.04%     
==========================================
  Files          88       88              
  Lines        3936     3948      +12     
==========================================
+ Hits         3323     3335      +12     
  Misses        437      437              
  Partials      176      176              
Impacted Files Coverage Δ
log/filter.go 95.45% <100.00%> (+0.21%) ⬆️
log/log.go 100.00% <100.00%> (ø)

@shenqidebaozi shenqidebaozi merged commit 3445f3e into go-kratos:main Jun 16, 2023
33 checks passed
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.

None yet

4 participants