Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    859

    Default Clearing old logs from /usr/local/apache/domlogs ?

    On most of our cPanel servers, we've got very old log files lingering for accounts that have long been removed, in this directory:

    /usr/local/apache/domlogs

    Is there a way to have cPanel rotate these out? Or is there a handy script to use that will achieve the same effect?

    Thanks much.

  2. #2
    Member
    Join Date
    Aug 2010
    Location
    India
    Posts
    238
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Clearing old logs from /usr/local/apache/domlogs ?

    Hello,

    Make sure that stats is configured to run on your server(Main >> Server Configuration >> Statistics Software Configuration), if you configure this it will rotate the log files after updating the stats for each domain.

    If its already done, check log files for any errors.

    Thank you.

Similar Threads & Tags
Similar threads

  1. /usr/local/apache/domlogs
    By ptez in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-08-2006, 11:23 AM
  2. Rotating /usr/local/apache/domlogs/
    By a1022 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-27-2004, 04:49 PM
  3. Replies: 0
    Last Post: 05-19-2004, 05:50 AM
  4. rm –f /usr/local/apache/domlogs/*
    By ivaserver in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-11-2003, 06:57 AM
  5. /usr/local/apache/domlogs
    By purplepaws in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-27-2002, 05:54 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube