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/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:
    16
    # 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:
    3
    Trophy Points:
    38
    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.
     
  3. easyhoster1

    easyhoster1 Well-Known Member

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

    All set now.
     
Loading...

Share This Page