On Tue, 03 Mar 2015 19:58:18 +0100, Sönke Ludwig wrote:
You could change the default
HTTPServerSettings.accessLogFormat
to use%{X-Forwarded-Host}i
instead of%h
.
Yeah, I just had supposed that vibe.d would be more automagical in this regard, since it's so great in other aspects ;-). Ideally it would log from the correct header automatically, so that changes in deployment configuration could be more independent from the HTTPServerSettings.accessLogFormat string.
I usually log at the reverse proxy, because I like to have direct and
sequential access to all requests when debugging or analyzing things. I
can also see arguments for logging at the individual server processes,
but that would mostly be for performance reasons and I currently simply
don't have a high enough load for having to worry about that.
Yeah, that's what I ended up doing. Have you ever left the logging enabled also on the individual servers? I'm doing that during the transition, just for paranoid reasons :o)
BTW, Sönke, may I ask what software (if any) do you use to analyze the logs?