Consider bundling Caddy transform-encoder by default #1641
Replies: 3 comments
-
|
Isn't it possible in newer versions to just run aka (haven't tried this myself yet) |
Beta Was this translation helpful? Give feedback.
-
|
+1 I need a {common_log} btw. {combined_log} logging format too. I use it in a k8s/docker environment, where the simple stderr / stdout is captured, no furtehr jq-processiong of logfiles intended. |
Beta Was this translation helpful? Give feedback.
-
|
We (mostly) follow Caddy's defaults, unless directly related to PHP, which isn't the case here. Please discuss this on the Caddy repository. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
By default, Caddy does not support the Apache Common Log Format (they used to, but removed it, for whatever reason). To enable it one needs to recompile Caddy with the transform encoder module.
CLF is is used by both nginx and Apache (web servers with which PHP developers have the most experience). Tools like fail2ban rely on this format for easy configuration, and otherwise require workarounds or additional tooling for log transformation.
It is my personal belief that CLF support is an essential feature, and it would be nice to have it available by default.
Beta Was this translation helpful? Give feedback.
All reactions