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!

Run logs off machine?

Discussion in 'General Discussion' started by traker1001, Feb 24, 2008.

  1. traker1001

    traker1001 Registered

    Feb 22, 2008
    Likes Received:
    Trophy Points:
    Hey folks I recently signed up for a cpanel WHM. My expertise is in windows systems. I would like to disable awstats, analog, log type programs altogether on my host. Then setup a script that will download the raw logs for specific hosted site, Remove them off the server, Process them via Analog and Report magic on my machine at home, Then re upload them to a specific location on the hosted site.

    I have the knowledg to do alot of this, However I am missing specific key points.

    where are the seperate apache logs stored? How do I change how and what apache logs and the filename convention it uses?

    How do I completely disable stats programs and remove them to recover the small amount of space they are using?

    The rest I beleive I can handle with a few well placed windows ftp scripts.

    Any and all help is greatly appreciated..
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Nov 29, 2006
    Likes Received:
    Trophy Points:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You do not have control over the filename convention of Apache logs in a cPanel/WHM environment. However, you can modify the log style by going to WHM -> Server Configuration -> Basic cPanel/WHM Setup and changing the setting for Apache Access Log Style.

    Individual domain general Apache access logs are stored in /usr/local/apache/domlogs/ for all domains configured in cPanel/WHM.

    Note, attempting to remove a component bundled with cPanel/WHM (i.e. stats programs) will only result in those programs being re-installed at some point during a cPanel update. However, you can disable the stats by going to WHM -> Server Configuration -> Tweak Settings -> Stats Programs and unchecking all the programs listed then clicking save at the bottom of the page.

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