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.

How to setup raw log files.

Discussion in 'General Discussion' started by utica, Jul 20, 2005.

  1. utica

    utica Member

    Joined:
    Mar 3, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hi -

    How do I setup raw log files.

    I need both an access log and an error log.

    I'll then download them to desktop software.

    Is there a way in cpanel to set them up and then to control the number of days between rollovers? (eg. one week, one month, two months)?

    Thanks.!!!
     
  2. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
  3. utica

    utica Member

    Joined:
    Mar 3, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Thanks, but no. I already have an analyzer.

    I just need to know how to setup the logs.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    What do you mean by setting them up? There's already an error log for apache in /etc/httpod/logs/error_log and the individual domains have their access logs in /etc/httpd/domlogs/
     
  5. utica

    utica Member

    Joined:
    Mar 3, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Thanks, Chirpy -

    I can't locate those directories.

    Hmm...

    I don't see a etc directory
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Are you the server admin logging in as root? If not, then you need to ask these questions of your hosting provider, if you are, then you need to SSH in as root to view those files.
     
  7. utica

    utica Member

    Joined:
    Mar 3, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I'm have a virtual private server account.
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Then, as I said, you need to login to the server via SSH and login as root and navigate to the directories mentioned to find those files.
     
Loading...

Share This Page