Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Keep log files at the end of the month explanation

Discussion in 'General Discussion' started by sparek-3, Jan 21, 2010.

  1. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,720
    Likes Received:
    98
    Trophy Points:
    328
    cPanel Access Level:
    Root Administrator
    What exactly does the Keep log files at the end of the month setting in Tweak Settings do?

    Does this refer to Apache domlogs? Or something else?

    What does Keep mean? Are the logs archived at the end of the month? Are they moved to a different location? Or are they just not reset (emptied out) at the end of the month?
     
  2. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,720
    Likes Received:
    98
    Trophy Points:
    328
    cPanel Access Level:
    Root Administrator
    I see references to a term sysarchive in /usr/local/cpanel/Cpanel/Logd.pm and /usr/local/cpanel/Cpanel/Logs.pm.

    Reading through the scripts, it looks like this creates an archive directory (somewhere, I don't know where) and copies the log files to this archive directory prior to resetting the log file.

    Is this what the Keep log files at the end of the month tweak setting feature refers to?
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice