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: 220.127.116.11".
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, 18.104.22.168.
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]