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.

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,384
    Likes Received:
    23
    Trophy Points:
    38
    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,384
    Likes Received:
    23
    Trophy Points:
    38
    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