We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When configuring charon with a non-default logging format, e,g. --log-format=logfmt, some initial logs are in the default format.
--log-format=logfmt
This is because we only init the logging format in app.Run, while we log stuff before that in the cmd package.
app.Run
cmd
Init logging as soon as log flags are parsed.
The text was updated successfully, but these errors were encountered:
cmd: add init logger in printFlags (#1277)
bffcbb5
Inits logging as soon as log flags are parsed in printFlags function. category: bug ticket: #1272
dB2510
Successfully merging a pull request may close this issue.
Problem to be solved
When configuring charon with a non-default logging format, e,g.
--log-format=logfmt
, some initial logs are in the default format.This is because we only init the logging format in
app.Run
, while we log stuff before that in thecmd
package.Proposed solution
Init logging as soon as log flags are parsed.
The text was updated successfully, but these errors were encountered: