-
Notifications
You must be signed in to change notification settings - Fork 90
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
Logging levels need clarifying #742
Comments
thanks for reporting, will take a look on logging improvements and documentation |
in the meantime, could you let us know how to enable debug logging for the trivy plugin? |
Hey, I fixed the debug logging for CVE and GHA requests and did a general improvement of the list request. Can you set Otherwise I also fixed the debug logging for external requests, you should be able to enabled them with: plugin:
trivy:
logging:
logLevel: -1
api: true |
thanks, that worked. My trivy plugin keeps crashing, I will submit another issue for that |
Hello,
I'd like to request the documentation and code comments regarding logging levels to be more detailed, as It's not clear how to enable debug logs to help troubleshooting for any pod in the chart
the trivy operator recently started crashlooping for us in 3 differnent and I'm unable to find out why. I tried playing with logging levels but being an integer it's not easy to figure out which value does what. For example, I think in the kyverno plugin, a value of -1 for logginglevel sets it to debug, but that does seem the case for the trivy plugin.
For reference the error events I see for my trivy-plugin pod are
I tried bumping CPU resources in case it was, but no luck. Also increased memory, even if it was not reporting crashing due to OOM, and it did not help either.
Thanks
The text was updated successfully, but these errors were encountered: