HTTP logging and debugging #19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
So the log files in
/var/log/nginxare currently not rotated in any way, making them hell to look through for anything useful.In addition, it's currently hard to see the entire contents of requests, for the sake of maintaining filters (see #9 and #17).
Last but not least, it's also really annoying to debug said filters and fix logic errors at the moment. I could perhaps write a test suite... except I'm lazy.
So I currently have a hacky way to do this however it affects the entire nginx server which is not ideal. This can lead to me logging a bunch of info I don't need (logs waste disk space, could be breached if I'm unlucky, and could be abused too if I were evil enough).
I can also use
tcpdumpfor specific services, however this won't let me see the exact headers (includingConnection) or HTTP version from the original client.