Possible to limit 414 (URI too long) entries?
Jorey Bump <[email protected]> Fri, 25 Mar 2005 15:22:08 -0500
| Newsgroups | gmane.comp.apache.mod-log-sql |
|---|---|
| Message-ID | <[email protected]> |
I'm considering using mod_log_sql for my virtual hosting setup. One of the first things I do when configuring apache is to prevent the logging of 414 (URI too long) requests, to reduce clutter/size of the log: # %!414r reduce clutter, only a "-" will be displayed LogFormat "%h %l %u %t \"%!414r\" %>s %b" common This allows me to track these requests in the log, without actually storing the request string itself. Is there a similar capability in mod_log_sql? Note that I want to control this based on the status code, not a substring of the full request, so LogSQLRequestIgnore will not work. Also, LogSQLRequestIgnore will prevent the logging of any information to the db, which is undesirable. I simply want to replace the full request string (r) with "-", without resorting to a regular cron job. _______________________________________________ Download the latest version at http://www.outoforder.cc/projects/apache/mod_log_sql/ To unsubscribe send an e-mail to mod_log_sql-unsubscribe-7qY7E20V6GW73k+5HYS8LQqVMODqnSLI@public.gmane.org