LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ProFTPD logfile for Webalizer (https://www.linuxquestions.org/questions/linux-newbie-8/proftpd-logfile-for-webalizer-151697/)

hct224 02-28-2004 08:25 PM

ProFTPD logfile for Webalizer
 
Doese anyone know what is the format for FTP log file which need to be set to let Webalizer read it?
I use ProFTPD and when I run the report, Webalizer keep saying log file is not found. I check the path so many times and know for sure it's there and I also have no problem when using Webalizer to report bandwidth with vHost. There is the last thing I can think of is the FTP log format is not setup right.

BlackRabbit 03-30-2004 06:42 AM

I also kinda have problems with webalizer parsing proftpd logs :(


I have added these lines to my proftpd.conf:
Code:

LogFormat      clf_default "%a - - %t "GET %f FTP/Client" 200 %b"
ExtendedLog        /var/log/xferlog.CLF read clf_default

(got it from inet)

And this in ftp.conf (webalizer config file)
Code:

LogFile    /var/log/xferlog.CLF
LogType        clf

BUT: the logfile is empty, everything is still logged in xferlog instead of xferlog.CLF (but xferlog.CLF is made in the process, it just stays empty)

Executing webalizer gives this:
Code:

root@Jupiter:/data/everyone/webalizer# webalizer -c ftp.conf
Webalizer V2.01-10 (Linux 2.4.22) English
Using logfile /var/log/xferlog.CLF (clf)
Creating output in /data/sites/datanukeftp
Hostname for reports is 'ftp.datanuke.be'
History file not found...
No valid records found!

:scratch:


All times are GMT -5. The time now is 03:58 AM.