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!

xxxx.com-ssl_data_log Huge; Never Rotated

Discussion in 'General Discussion' started by vicos, Feb 18, 2012.

  1. vicos

    vicos Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    62
    Likes Received:
    1
    Trophy Points:
    156
    Hi,

    get a message today that /usr has gone over 80% full

    I found a huge log file that has never been rotated since the server was implemented in 2008

    /usr/local/apache/domlogs/xxxx.com-ssl_data_log where xxxx is the particular domain in question.

    1) Should this have been truncated/rotated/compressed by the system? If not is there a WHM setting to do so.

    2) As a last resort, can I simply delete this log file? I assume apache will recreate it when needed? Do I need to stop apache before deleting it?
     
  2. vicos

    vicos Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    62
    Likes Received:
    1
    Trophy Points:
    156
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Yes, this log file should be included in the Apache domlog rotation, assuming you have the following option enabled via "WHM >> Server Configuration >> Tweak Settings":

    "Delete each domain’s access logs after stats run"

    Feel free to submit a ticket with our staff so we can check for any specific reason it's not getting deleted after the statistics generation:

    Submit A Ticket

    Or, if you want to remove it manually, you could empty it via a command such as:

    Code:
    # echo "" > /usr/local/apache/domlogs/xxxx.com-ssl_data_log
    That is an outdated bug report. There are no outstanding issues with log rotation that I am aware of at this time.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. vicos

    vicos Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    62
    Likes Received:
    1
    Trophy Points:
    156
    Thanks Michael, I will submit a ticket. BTW, the data in the log file are error messages, it is not access log data--SSL is not even enabled for this domain.
     
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