[Solved] Is it possible to log only GET queries?
Added by i.g.e.o almost 4 years ago
Hi friends!
I use that awesome webserver and it works like a charm! Thanks to developers!
And my web application which serves with lighty uses frequent ajax queries, and they flood log file with absolutely useless POST queries. So I want to ask, is it possible somehow filter what will be logged to access.log, for example POST or GET queries.
Thanks again!
Replies (2)
RE: Is it possible to log only GET queries? - Added by gstrauss almost 4 years ago
Yes. $HTTP["request-method"]
Please see the documentation for configuration and if something is unclear, let us know if you have suggestions for how to improve it.
RE: Is it possible to log only GET queries? - Added by i.g.e.o almost 4 years ago
Amazingly simple! :)
Thanks!