Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Sep 2003
    Posts
    658

    Default /usr/local/cpanel/logs ?

    # 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. #2
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    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.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  3. #3
    Member
    Join Date
    Sep 2003
    Posts
    658

    Default

    Thanks Mike.

    All set now.

Similar Threads & Tags
Similar threads

  1. /usr/local/cpanel/logs/access_log
    By garmooshka in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-08-2005, 02:57 AM
  2. Whats the deal with this file: /usr/local/cpanel/logs/stats_log ?
    By AbeFroman in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-31-2004, 11:31 AM
  3. Safe to delete /usr/local/cpanel/logs/stats_log
    By princo in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-08-2004, 03:57 PM
  4. Replies: 1
    Last Post: 10-21-2003, 06:08 AM
  5. Check out /usr/local/cpanel/logs/ !!!
    By H2Hosting.com in forum cPanel and WHM Discussions
    Replies: 18
    Last Post: 04-29-2003, 11:56 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube