[Info-vax] Apache log rotation
Paul Sture
paul.nospam at sture.ch
Sun Aug 12 06:47:25 EDT 2012
On Sat, 11 Aug 2012 07:12:23 -0700, Neil Rieck wrote:
> But we have noticed that tabbed browsers expect favicon.ico to be
> available (probably in the browser's cache) so it can be used "to
> precede the web page title" on each tab.
For those of us who use tabbed browsers and the bookmarks toolbar the
icons give a very useful visual hint.
> Anyway, these two changes:
> http://www3.sympatico.ca/n.rieck/docs/
openvms_notes_apache.html#tweaks2012
> have cut the size of my log files by roughly 50% per day which I am
> assuming is consuming fewer system and network resources.
You can also exclude logging of various files:
http://www.webmasterview.com/2009/11/apache-log-cruft/
SetEnvIf Request_URI "^/wordpress/" cruft
SetEnvIf Request_URI "^/robots\.txt$" cruft
SetEnvIf Request_URI "^/favicon\.ico$" cruft
CustomLog /logs/example.com/access.log combined env=!cruft
--
Paul Sture
More information about the Info-vax
mailing list