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!

Log Database

Discussion in 'General Discussion' started by webdes03, Dec 14, 2008.

  1. webdes03

    webdes03 Member

    Joined:
    Nov 24, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    151
    Not sure if this is in the right section, mods feel free to relocate if necessary.

    I'm trying to determine the location of the http log database. My datacenter told me that logs are by default stored in /usr/local/apache/domlogs, and I did indeed find logs there, but they only contained data from the beginning of the month. I went back and asked my datacenter about it and they said different version of WHM handle this differently, but that they're only stored in the actual log file until they're added to the stat database.

    I went into my mysql database but couldn't find anything other than the exim stats. Does anyone know the name of said database or how I can access it?

    We have AWStats and a couple other log tools running, so I know the data must exist somewhere... I'm just having a hard time finding it...

    Thanks,

    Mike
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. webdes03

    webdes03 Member

    Joined:
    Nov 24, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    151
    What I'm trying to do is generate my own graphs of the http log data...

    Although that tool does look useful, it's not quite what I'm looking for.
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You have awstats running as root for the entire server or for an account on the server? cPanel awstats are in the root of the account, the tmp folder. Those logs can be viewed from within cPanel of course.

    You'll find logs here. Some examples:

    usr/local/apache/logs/access_log
    usr/local/apache/logs/error_log
    usr/local/cpanel/logs/access_log
    var/log/exim_rejectlog
    var/log/messages


    HTH
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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