httproxy
httproxy copied to clipboard
Ignore URLs with certain extensions from logging
Modified HTTP Proxy, so now we can exclide URLs with some extensions from the logging. If a user need to exclude extensions, she should add the following to the configuration file:
[ignored-extensions] .jpg .css .jss .any_extension
Wouldn't it be much better to just filter your log files by the url, to remove the static files (not by extension, but by prefix)?
Hey there! Thanks for your contribution. However, I wonder what is the use case for the functionality you propose. No proxy implementation I know of allows for ignoring logging of certain requests.
I am currently working on a HCI project, and want to log users activity via the proxy logs, so that's how the need started. But yeah, you are right, people can do the filtering in the log file later on. Not sure if you still find it a valid user care or no. Anyway, I am please to participate in the code, and thank you for the comments, and will sure keep an eye on the project in case any additions are needed