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.

/usr/local/apache/domlogs/ where to set frequency of prunning/emptying?

Discussion in 'General Discussion' started by postcd, Aug 14, 2016.

Tags:
  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    623
    Likes Received:
    6
    Trophy Points:
    18
    Hello,

    it seems logfiles in /usr/local/apache/domlogs/ shows only current day log entries, i would like to see longer term.

    Where can i please define longer term for prunning/emptying these log files?

    Thank you
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello :),

    If you want to keep your log files then you need to check following setting in WHM >> Server Configuration » Tweak Settings >> Stats and Logs

    "Keep monthly log files"
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    You can increase the log processing frequency for web statistics via "WHM Home » Server Configuration » Statistics Software Configuration". This will retain the Apache domain access logs for longer periods, but also result in delayed statistic processing for your users. Additional options available under the "Stats and Logs" tab in "WHM >> Tweak Settings" include:

    Delete each domain’s access logs after statistics are gathered
    Archive logs in the user's home directory at the end of each stats run unless configured by the user.


    Thank you.
     
Loading...

Share This Page