purplep

Well-Known Member
Feb 6, 2002
59
0
306
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.
 

feanor

Well-Known Member
Aug 13, 2001
835
0
316
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.
 

purplep

Well-Known Member
Feb 6, 2002
59
0
306
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?
 

feanor

Well-Known Member
Aug 13, 2001
835
0
316
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.
 

awsol

Well-Known Member
Feb 8, 2002
578
0
316
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.
 

awsol

Well-Known Member
Feb 8, 2002
578
0
316
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.