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.

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

Discussion in 'General Discussion' started by princo, Mar 21, 2003.

  1. princo

    princo Well-Known Member

    Joined:
    Feb 22, 2003
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Europe
    Just wondering is it safe to delete

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


    Thanks
     
  2. Donna

    Donna BANNED

    Joined:
    Feb 15, 2003
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Toronto, Canada
    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. pingo

    pingo Well-Known Member

    Joined:
    Nov 16, 2002
    Messages:
    430
    Likes Received:
    0
    Trophy Points:
    16
    Did it affect the users monthly stats in cpanel? :)

    John

    cPanel.net Support Ticket Number:
     
  4. maverick

    maverick Well-Known Member

    Joined:
    Jan 6, 2003
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    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. jdawes

    jdawes Well-Known Member

    Joined:
    Aug 7, 2003
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Australia
    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.
     
Loading...

Share This Page