Caddy Logging

It’s a simple thing, but I like to keep my Caddy web server logging consistent so I use this snippet.

(log) {
        log {
                output stdout
                format console
        }
}

Here’s how to use it.

mysite.com {
	import log
}