-
Notifications
You must be signed in to change notification settings - Fork 16
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
Is there a way to filter #18
Comments
Ok thanks @francislavoie , I guess this is work in progress or being discussed. so I'm going to wait |
There's also this plugin which might do what you need https://github.com/leodido/caddy-conditional-logging for the time being |
Unfortunately it looks outdated, checking here the link is dead |
No, that's correct. Go module paths do not match github URLs. |
Ok thanks a lot I'll give it a try |
I think of keeping transform-encoder as it looks more stable for me and the Apache common log format is working perfect. |
You can chain them together. It's not either-or. |
@francislavoie are you able to give an example of chaining in this context? As much as I have tried, I cannot see how it works. I am fairly new to caddy though so I blame it on that. |
Like this:
That said, since Caddy v2.6.0 released last week, we have a |
Hi,
I am setting the Apache common log format as suggested and it works great ! thank you very much.
Now I think of limiting logs to only those with status 404 (or another approach to not log those with 200 or 304) if feasible.
Do you offer filtering by inclusion or exclusion ? the second option would be great (all except 200 or 304)
Thanks a lot !
The text was updated successfully, but these errors were encountered: