Results 1 to 5 of 5

Thread: Safe to delete /usr/local/cpanel/logs/stats_log

  1. #1
    Member
    Join Date
    Feb 2003
    Location
    Europe
    Posts
    51

    Default Safe to delete /usr/local/cpanel/logs/stats_log

    Just wondering is it safe to delete

    /usr/local/cpanel/logs/stats_log
    and
    /usr/local/cpanel/logs/access_log


    Thanks

  2. #2
    BANNED
    Join Date
    Feb 2003
    Location
    Toronto, Canada
    Posts
    88

    Default

    stats_log yes, as well as the error_log, I do it once a week.

    I'd like to delete my access log to as it goes back to the beginning of the year before I even got that server and it's taking up a lot of space.

    I've been told that deleting the access_log will also delete the monthly stats in my customers cpanels so if they want to look at stats from a month or 2 ago they wouldn't be able to.

    It IS technically safe to delete it as the server will just make a new one, question is will deleting this file actually affect the users monthly stats in cpanel and if so are these stats worth anything to you or your customers.

    Anyone have an answer to this?

  3. #3
    Member
    Join Date
    Nov 2002
    Posts
    430

    Default

    Did it affect the users monthly stats in cpanel?

    John

    cPanel.net Support Ticket Number:

  4. #4
    Member
    Join Date
    Jan 2003
    Posts
    68

    Default

    Can anyone confirm if it is safe to delete the log files in /usr/local/cpanel/logs ?

    Will doing this affect user accounts in any way or do these files purely exist for tracking problems?

    Thanks.

    Mav.

  5. #5
    Member
    Join Date
    Aug 2003
    Location
    Australia
    Posts
    59

    Default

    im not sure if this is a good idea, still trying to work out if deleting stats_log was the cause but now awstats says


    Error: LogFile parameter is not defined in config/domain file

    Setup ('/home/ozhome/tmp/awstats/awstats.ozhome.net.conf' file, web server or permissions) may be wrong.
    See AWStats documentation in 'docs' directory for informations on how to setup awstats.

    doh.

Similar Threads

  1. /usr/local/cpanel/logs/access_log
    By garmooshka in forum cPanel & 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 & WHM Discussions
    Replies: 0
    Last Post: 07-31-2004, 11:31 AM
  3. /usr/local/cpanel/logs ?
    By easyhoster1 in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 12-10-2003, 12:12 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 & WHM Discussions
    Replies: 18
    Last Post: 04-29-2003, 11:56 AM