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.

Raw Log Files

Discussion in 'General Discussion' started by purplep, Apr 15, 2002.

  1. purplep

    purplep Well-Known Member

    Joined:
    Feb 6, 2002
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    I have a client that needs to downlaod raw logs for procesing with 123LogAnalyzer. They need the path to download via FTP. Where are these stored and what should he point 123LogAnalyzer to via FTP?

    Thanks.
     
  2. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    If you notice in the default theme for the end cpanel user, there is a &Download Raw Log File& option- that is the apache log for the domain in question.

    If you are using a custom theme, just setup a test account with the default theme and it is under the &Access& menu.
     
  3. purplep

    purplep Well-Known Member

    Joined:
    Feb 6, 2002
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    Thanks for that.

    The software in questions requires a direct path to FTP the info from. Is this possible? Or is the only way through CPanel?
     
  4. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    By default the domlogs are stored in an area that is not encapsulated by the user's directory (/usr/local/apache/domlogs)

    You can create a symlink within the user's directory back to their domlog within the path above, but I'm not sure if that will work correctly with the FTP client in question. You should probably just create another log for the domain by editing the httpd.conf directly and dumping a log for them within ~username/

    And then restart apache and chown the log to their user and group so their FTP client can see it.
     
  5. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    Or tell them to download it from cpanel and upload it to their ftp by themselves. When I was with a host hat used cpanel I asked for a way to get live stats and he did exactly what you are trying to do. I'll see if I can get in touch with him today and see exactly what he did. It may just be a symlink.
     
  6. purplep

    purplep Well-Known Member

    Joined:
    Feb 6, 2002
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Thanks for the help :)
     
  7. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    Hes not online right now but after thinking I agree with feanor. In httpd.conf change their log directory to something within their path. Then create that folder and copy over their current logs. Then restart apache.
     
Loading...

Share This Page