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.

Number of days between processing log option

Discussion in 'General Discussion' started by Mal, Aug 30, 2006.

  1. Mal

    Mal Member

    Joined:
    Sep 4, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    In the Tweak Settings option there is:

    "Number of days between processing log files and bandwidth usage (default 1, decimal values are ok):"

    Previously I had this set to 0.5 because my website is very popular. Recently I have been getting warnings about running low on space in the place where the logs go, so I decided to set this value to 0.25 but after I save it and go back to the page it displays 1.

    Is this a display bug or is it actually preventing me from saving a decimal lower than one? If the latter, can I edit the appropriate configuration file manually to the correct value? If so, where is it?

    Essentially I have several hours left before the space runs out on my server, if I can't get an answer within a couple of hours here then I'll try the datacentre. Cheers.
     
    #1 Mal, Aug 30, 2006
    Last edited: Aug 30, 2006
  2. websupport

    websupport Well-Known Member

    Joined:
    Jun 24, 2006
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    6
    Log Rotation information

    * Log rotation is handled by /usr/sbin/logrotate which is part of the logrotate package.

    * logrotate is executed daily by cron to check if any logs need rotating.

    * Basic setup and log rotation of the default system logs are configured in /etc/logrotate.conf.

    * Additional, package related, log rotation scripts are placed in /etc/logrotate.d.

    :)
     
  3. Mal

    Mal Member

    Joined:
    Sep 4, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Doesn't really help but thanks for the reply - I had a quick look through those files. I've asked my data centre to sort it, I assume they'll go back to an old version of WHM, alter the files manually or maybe something else.

    cPanel should really change the label for this option to state that decimals are no longer allowed otherwise I can see it causing problems.
     
Loading...

Share This Page