awstats and ftpd

And which section should I use? The ProFTPd or the other?
The /var/log/xferlog has different format as expected:
With vsFTPd, or any FTP server that log with xferlog format:

1- Check your server log file format:

Take a look at your FTP server log file. You must have a format that match the following example to use this FAQ :
Code:
Wed Jan 01 19:29:35 2001 1 192.168.1.1 102 /home/file1.txt b _ o r username ftp 0 * c

I've similar:
Code:
Sep 12 19:05:51 bsd-vps ftpd[35082]: connection from ###.###.###.###
Sep 12 19:05:52 bsd-vps ftpd[35082]: ANONYMOUS FTP LOGIN FROM ###.###.###.###, cfnetwork@apple.com
Sep 12 19:05:52 bsd-vps ftpd[35082]: session root changed to /usr/home/ftp/public
Sep 12 19:05:52 bsd-vps ftpd[35082]: get /homepage/stuff/math/jobs/kombinatorika_09.pdf = 115086 bytes (wd: /homepage/stuff/math/jobs; chrooted)

Or should I edit some preferences?
 
Next idea: the awstats's logfile will a pipe? This program create from syslog-style xferlog (joins some lines) a simple format.
Sep 12 19:05:51 bsd-vps ftpd[35082]: connection from ###.###.###.###
Sep 12 19:05:52 bsd-vps ftpd[35082]: ANONYMOUS FTP LOGIN FROM ###.###.###.###, cfnetwork@apple.com
Sep 12 19:05:52 bsd-vps ftpd[35082]: session root changed to /usr/home/ftp/public
Sep 12 19:05:52 bsd-vps ftpd[35082]: get /homepage/stuff/math/jobs/kombinatorika_09.pdf = 115086 bytes (wd: /homepage/stuff/math/jobs; chrooted)
transforms to:

Sep 12 19:05:51 ANONYMUS ###.###.###.### /usr/home/ftp/public/homepage/stuff/math/jobs/kombinatorika_09.pdf 115086

Do you think it's good idea?
 
Back
Top