@@ -288,6 +288,10 @@ func nginxLogCapture(logfile, format string) {
xff, err := logEntry.Field("http_x_forwarded_for")
if err != nil && xff != "" {
+ if config.Trace {
+ log.Printf("Using XFF: %s\n", xff)
+ }
+
remote = xff
}