-
Notifications
You must be signed in to change notification settings - Fork 353
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
enableAccessLog filter actively disable routes that are not matched #1514
Comments
|
Right, but in my example above I have never explicitly disabled anything, but I end up with access logs for status codes 2xx disabled. |
@rgritti as far as I understand you set the default to log, but then you filter logging for the route to log only 4xx and 5xx. |
@szuecs I think that if you enable the access logs globally, and then you enable specifically the 4xx and 5xx, you should see the 2xx as well, no?
The only that you wrote is not clear from the filter name nor from the documentation. |
No, I think you should specify what you want to see, no inheritance! |
Describe the bug
Filter
enableAccessLog
with parameter, disables access logs of status codes that are not matched.To Reproduce
skipper.Options.AccessLogDisabled = false
-> enableAccessLog(4, 5)
Expected behavior
I expect to see the access logs
Observed behavior
Access logs for the request are not shown
The text was updated successfully, but these errors were encountered: