Re: [users@httpd] Many logs or one?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 31, 2006 at 12:09:00PM CDT, Mike Jackson <mjackson@xxxxxxxxxxxxxxxxxx> wrote:
: 
: We currently log all the virtual host activity to individual log files. 
: Would it be more efficient to log to single logfile that's later split for 
: each vhost? Or would that make the disk utilization worse? Or should I be 
: looking to improve efficiency somewhere else? I already know the site PHP 
: code is a bit inefficient in how it uses the disks, and I've talked to the 
: programmer about cleaning that up a bit. 

Better to capture all activity into a single log file,
then use another program to split the logs.  In the old
days, if Apache open too many logs in a large virtual
hosting setup, it may run out of file descriptors.  Also,
root-owned log files split to individual user-accessible
directories could lead to security holes.


-- 
Eugene

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux