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.

manual domlogs cycling?

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

  1. tmallardi

    tmallardi Well-Known Member

    Joined:
    Jan 18, 2005
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    El Paso, TX
    For some unknown reason, my domlogs did not cycle last month.

    The following items are checked in WHM/Server Setup/Tweak Settings:

    STATS PROGRAMS
    ------------------------
    [x] Analog Stats
    [ ] Awstats Reverse Dns Resolution
    [ ] Awstats Stats
    [x] Webalizer Stats

    STATS AND LOGS
    -------------------------
    [ ] Allow users to update Awstats from cPanel
    [ ] Chmod value for raw apache log files (0640 is the default):
    [ ] Delete each domain's access logs after stats run
    [ ] Do not include password in the raw log download link in cPanel (via ftp).
    [ ] Do not reset /usr/local/apache/domlogs/ftpxferlog after it has been seperated into each domain name's ftp log
    [x] Exim Stats Daemon (required for smtp bandwidth logging; must also be modified in the service manager as well)
    [ ] Keep Stats Log (/usr/local/cpanel/logs/stats_log) between cpanel restarts (default is off)
    [x] Keep log files at the end of the month (default is off as you can run out of disk space quickly)
    Number of days between processing log files and bandwidth usage (default 1, decimal values are ok): 1
    Stats Log Level (default is 1, larger numbers indicate more debug information in /usr/local/cpanel/logs/stats_log) [0...10]: 1
    The load average above the number of cpus at which logs file processing should be suspended (default 0): 0
    [ ] When viewing bandwidth usage in WHM, always display in Megabytes first.




    I ran the following script for one of the accounts:

    /scripts/runweblogs

    It appears to have run, but the contents of that account's domlog still has two months worth of data in it.

    Is there another way to cycle the domlogs?

    thanks
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    uncheck Keep log files at the end of the month
     
  3. tmallardi

    tmallardi Well-Known Member

    Joined:
    Jan 18, 2005
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    El Paso, TX
    I thought that option causes a copy of the file to be zipped up and placed in the user's home directory.

    Is there any documentation out there that details the CPanel's logging processes?
     
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    nope they have to select to keep their logs in the control panel for the domain
     
Loading...

Share This Page