1. The problem I’m having:
How to add upstream server ip into access logs.
When caddy acts as a multi-backend servers proxy, the caddy log does not include the specific server to which the request is distributed.
2. Error messages and/or full log output:
PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.
3. Caddy version:
4. How I installed and ran Caddy:
a. System environment:
It’s not currently possible to augment the access logs arbitrarily, but it’s something we’re thinking about.
You can enable the debug global option which will show which upstream is being chosen for each request, but it doesn’t touch the access logs in particular.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.