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.

Logs rotate 2 hours too early, error log shows less than 300 errors

Discussion in 'General Discussion' started by BianchiDude, Sep 2, 2005.

  1. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    16
    Logs rotated at 10pm on Aug 31, why doesn't it wait until the end of the day?


    The error log shows only has like 30 errors in it is suppose to show the last 300 errors, where are the rest of them?
     
  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
    Logrotate is run as part of cron.daily and will be executed in alphabetical order. Either you have other jobs running before it that are taking a long time and logrotate is running extremely late, or you have changed the time in /etc/crontab (on Linux) that cron.daily runs.
     
Loading...

Share This Page