please use X-Forwarded-For in directory log entries
I use apache to redirect http://...:80/tor/ to the dirport of my tor server.
So any time there is something noteworthy going on, Tor's log entry claims that the request came from localhost:
[notice] directory_handle_command_post(): Rejected descriptor published by '127.0.0.1'.
Apache sets the http header X-Forwarded-For like "X-Forwarded-For: 126.96.36.199".
It would be nice if that information could be made available in the log entires. For instance like this:
[notice] directory_handle_command_post(): Rejected descriptor published by 127.0.0.1, 188.8.131.52.
Where the contents of the X-Forwarded-For header(s) are simply appended to the entry after the ip address.
[Automatically added by flyspray2trac: Operating System: All]