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

Add trace log level #112

Closed
squaremo opened this issue Jun 24, 2021 · 0 comments · Fixed by #113
Closed

Add trace log level #112

squaremo opened this issue Jun 24, 2021 · 0 comments · Fixed by #113

Comments

@squaremo
Copy link
Member

In fluxcd/image-automation-controller#190 I added some tracing output to the image automation controller. Since that controller uses pkg/runtime/logging, and that doesn't know about --log-level=trace, I had to put the tracing in the debug log level. It would be good to recognise the trace level, though.

  • parse --log-level=trace
  • add a const for the log level so it can be referred to in log.V(CONST).Info(...)
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 a pull request may close this issue.

1 participant