-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
question: Suppressing noisy auth failure logs #280
Comments
Hi @greenpau , are you able to provide any insight here? |
@mechanarchy , I don’t know the best way to handle this. Never used skip_logs directive. |
@mechanarchy , perhaps it is a good feature to implement. All logging that happens in the plugin are done via |
the directive for this might look something like this.
or skips of any of them match.
or skips if both are the match
|
@greenpau Thanks for your time looking into this. The caddy Something like your suggestion here would be very helpful! I don't anticipate this would be high on your priority list, and I'm not familiar with Go to attempt a PR myself, so for the meantime I will continue to just ignore the additional logging, or filter it out ( |
My Caddy logs are filled with the following errors:
and
Combined, these two messages make up 68% of my Caddy log:
I presume this is because I am not persisting the token encryption keys in my install, and a Caddy restart changes the encryption key but the client cache sessions are not updated.
Is there any way I can suppress these noisy log messages? Caddy has the
skip_log
directive, but I'm not sure of the matcher to use for Caddy Security.The text was updated successfully, but these errors were encountered: