Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Mar 2004
    Location
    This Planet
    Posts
    984

    Default Why specify separate log file for each vhost?

    Why specify a separate logfile for each VirtualHost and not just use a common file and then use split-logfile utility which anyway can separate out each domain logs and put it up in domlogs as www.domain.tld.log? Wouldn't this be better When using a large number of Virtual Hosts, where Apache may run out of available file descriptors (sometimes called file handles) if each Virtual Host specifies different log files.

    TIA
    Anup

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    I've run hosting on servers that split logs and it is horrendously bad for server performance as it consume CPU cycles, memory and I/O with abandon. It's much simpler to have them already broken up so that you don't have to go through that horror. If you're running out of inodes you should really be looking at getting a bigger disk or ensuring that user data is stored on a separate disk.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. WHM cpup should include log file path and link to log file
    By lbeachmike in forum Feature Requests for cPanel/WHM
    Replies: 0
    Last Post: 07-22-2011, 01:04 AM
  2. how to change vhost template file for good?
    By AL-Kateb in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-13-2011, 02:46 PM
  3. Separate error log for individual domains
    By JoyceBabu in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-17-2010, 01:10 PM
  4. Custom Log Entries (for one vhost)
    By PPNSteve in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-04-2008, 01:42 PM
  5. Sticking Virtual Host entries in a separate file?
    By movielad in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-26-2004, 10:39 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube