Skip to content

[TASK] Ensure caddy is logging accesses to files

Stefan Bürk requested to merge stefan-1 into main

Caddy webserver was configured to log to stout, running as docker service, thus not logging any useful at all. To be able to track cross service issues down this patch enables now file logging for caddy, written to the mountend data volumne.

  • enable file logging for 80 and 443 for gerrit-adapter app
  • format log as json format

further reads:

https://caddyserver.com/docs/caddyfile/directives/log#file https://caddyserver.com/docs/caddyfile/directives/log#json

Merge request reports