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.

Apache domlogs pruning

Discussion in 'General Discussion' started by ethical, Sep 7, 2016.

  1. ethical

    ethical Well-Known Member

    Joined:
    Apr 7, 2009
    Messages:
    79
    Likes Received:
    2
    Trophy Points:
    8
    since this seems related, I thought I would ask here, it seems my /domlogs/ are being rotated at the end of each month and I dont want that (ive setup a separate /etc/logrotate.d script to keep and compress several versions)

    but i can not even with all the posts about where to set settings, find the one that is causing these to roll over?

    i have these set
    - Archive logs in the user's home directory at the end of each stats run unless configured by the user. ON
    - Remove the previous month's archived logs from the user's home directory at the end of each month unless configured by the user. ON (but my understanding is this is related to the copy that is in the users logs directory)
    - Delete each domain’s access logs after statistics are gathered OFF
    - Log rotation size threshold 100MB

    any ideas?

    thanks!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    I've moved this post into it's own thread.

    Could you verify if the system uses EasyApache 3, or EasyApache 4? Also, could you provide an example of how the logs are archived? The Apache logs (not the domlogs) rotation is configured via:

    "WHM Home » Service Configuration » Apache Configuration » Log Rotation"

    Thank you.
     
  3. ethical

    ethical Well-Known Member

    Joined:
    Apr 7, 2009
    Messages:
    79
    Likes Received:
    2
    Trophy Points:
    8
    hi! EA3

    well i dont know... i just see the log file starts at the start of the month in terms of the entries that are in the domlogs (or right at then end of the month really since it happens just before the date turn over)

    i am not referring to the apache logs, that is already setup fine in the area you mentioned.

    thanks!
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  5. ethical

    ethical Well-Known Member

    Joined:
    Apr 7, 2009
    Messages:
    79
    Likes Received:
    2
    Trophy Points:
    8
    id is 7656507
     
Loading...

Share This Page