zlog
is a log middleware for Caddy v2, it's based on https://github.com/rs/zerolog and https://github.com/liuzl/filestore.
Rebuild caddy as follows:
xcaddy build --with github.com/liuzl/caddy2-zlog
127.0.0.1:2021 {
zlog {
log_dir ./server_zerolog
split_by hour
hash_dir ./hashstore
}
}