> Define a second log file in each vhost entry :
>> CustomLog /my/vhost/access_log combined
> CustomLog /my/full/access_log combined
>> I do this for about 50 vhosts, doesn't seem to impact
> performance too much
> although the log file can grow quite quickly, so rotate often.
This is how we do it for lots and lots of domain's, its not an issue with
load or anything. One thing to look for is the max number of file
descriptors. We've had to re-compile apache for 16348 FD's. As soon as
apache starts it opens all the log files etc, then under normal operation it
would have files ope etc. It can become an issue after 250 or so sites... :)
Email scanned by Blacknight for viruses and dangerous content.
Visit http://www.blacknight.ie for more information
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!