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!

/usr/local/cpanel/logs ?

Discussion in 'General Discussion' started by easyhoster1, Dec 10, 2003.

  1. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    166
    # du -h -s /usr/local/cpanel/*

    8.3G /usr/local/cpanel/logs


    Is it safe to delete these logs? My /usr partition is over 107%and causing errors. All of a sudden.

    The log files are
    access_log
    error_log
    makecat.log
    melange.log
    melange_msg.log
    stats_log


    Thanks
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    4
    Trophy Points:
    343
    Location:
    ON, Canada
    echo > /usr/local/cpanel/logs/access_log
    echo > /usr/local/cpanel/logs/error_log
    etc,
    to empty them without deleting them.

    There's no harm in emptying them. As far as deleting them, I did once and they stopped recording until I recreated the files.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    166
    Thanks Mike.

    All set now.
     
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