Fix client IP logging in Watcher API VirtualHost#398
Conversation
Align watcher httpd logging with the cinder/nova-operator pattern: - Add missing SetEnvIf X-Forwarded-For in the VirtualHost block - Normalize server-level httpd.conf: use standard LogFormat names (combined, proxy), fix inverted env= on proxy CustomLog, log to /dev/stdout so logs are visible via oc logs -f Closes: OSPRH-32126 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Francesco Pantano <fpantano@redhat.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Build failed (check pipeline). Post ✔️ openstack-meta-content-provider-master SUCCESS in 3h 08m 14s |
Align watcher
httpdloggingwith the existing operator pattern:SetEnvIf X-Forwarded-Forin theVirtualHostblockhttpd.conf: use the existing pattern forLogFormatnames (combined,proxy), and log to/dev/stdoutso logs are visible viaoc logs -fRelated: OSPRH-32126