The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

log files not copied to domain home dir

Discussion in 'General Discussion' started by tmallardi, Jun 9, 2005.

  1. tmallardi

    tmallardi Well-Known Member

    Joined:
    Jan 18, 2005
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    El Paso, TX
    I have a few of my domains set to copy the raw access log to its home directory each month. Last month it appeared to work. This month it didn't.

    I looked at the /usr/local/apache/domlogs and have determined that the logs still have last months records as well as the first week of this month.

    Can I run a script manualy to rotate/move the files?

    Also, is there a log file to look and see if logrotate has been running?

    thanks
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    The domlogs are not rotated by logrotate, they're done by the cpanellogd daemon when it runs and is controlled by the statistics settings in WHM > Tweak Settings.
     
  3. tmallardi

    tmallardi Well-Known Member

    Joined:
    Jan 18, 2005
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    El Paso, TX
    Attached are my current settings in the Tweak module.

    How can I get last months files processed?

    thanks
     

    Attached Files:

Loading...

Share This Page