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

log.Printf was logging to stderr directly with text ts format even in JSON mode #31

Merged
merged 1 commit into from
Jun 20, 2023

Conversation

ldemailly
Copy link
Member

@ldemailly ldemailly commented Jun 20, 2023

avoids non json output, outside of panic if configured, on stderr (when using log.Printf function)

@codecov
Copy link

codecov bot commented Jun 20, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (3834fc4) 100.00% compared to head (ae647ef) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #31   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          243       245    +2     
=========================================
+ Hits           243       245    +2     
Impacted Files Coverage Δ
logger.go 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ldemailly ldemailly merged commit aa91f49 into main Jun 20, 2023
6 checks passed
@ldemailly ldemailly deleted the log_printf_json_fix branch July 22, 2023 00:10
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

1 participant