Skip to content

Curious if you'd integrate this with Caddy! #19

Description

@francislavoie

I really like the look of this!

I was curious to see if you'd be interested in playing with this with Caddy; it seems like it would integrate nicely, since Caddy uses Zap for logging everything.

See https://caddyserver.com/docs/logging which TL;DR explains why Common Log sucks and why structured logging is what we chose for Caddy.

Caddy uses a plugin system and you can provide a logging encoder module (formatter) by implementing a module in the caddy.logging.encoders.* namespace. The ones that exist are listed here: https://caddyserver.com/docs/json/logging/logs/encoder/, and docs on extending Caddy here https://caddyserver.com/docs/extending-caddy

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestintegrationintegration with some other tools and frameworks

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions