We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Our logging stack has sampling support, but it's currently only usable via JSON config. We never wired up Caddyfile config for it.
caddy/logging.go
Line 307 in b285763
We should add Caddyfile support. This should be easy, it should just be a new option added to the log directive called sampling added in this switch:
log
sampling
caddy/caddyconfig/httpcaddyfile/builtins.go
Line 1000 in b285763
And it should take a block of options, i.e. interval, first and thereafter.
interval
first
thereafter
The text was updated successfully, but these errors were encountered:
Hello. I'd like to work on this one :)
Sorry, something went wrong.
Go ahead, PRs welcome.
Successfully merging a pull request may close this issue.
Our logging stack has sampling support, but it's currently only usable via JSON config. We never wired up Caddyfile config for it.
caddy/logging.go
Line 307 in b285763
We should add Caddyfile support. This should be easy, it should just be a new option added to the
log
directive calledsampling
added in this switch:caddy/caddyconfig/httpcaddyfile/builtins.go
Line 1000 in b285763
And it should take a block of options, i.e.
interval
,first
andthereafter
.The text was updated successfully, but these errors were encountered: