Reading through the Caddy docs for log
directive, I am unsure how to modify the Caddyfile
if we want to log both stdout
and stderr
.
I tried starting Caddy without errors using the following Caddyfile
but I am unsure how to test that it is actually logging both stdout and stderr. Will appreciate some help here. Thanks!
my.website.com {
reverse_proxy localhost:3000
log {
output stdout
level DEBUG
}
log {
output stderr
level DEBUG
}
}