# grep "^log format" /etc/rsyncd.conf log format = %a - - [%t] "GET /%m/%f" - %l "" "" Dec 31 19:13:02 pad rsyncd[15698]: connect from localhost.localdomain (127.0.0.1) Dec 31 19:13:02 pad rsyncd[15698]: rsync on pub/Linux/pmagic-3.1.iso.zip from localhost.localdomain (127.0.0.1) Dec 31 19:13:02 pad rsyncd[15698]: building file list Dec 31 19:13:03 pad rsyncd[15698]: sent 28298 bytes received 49353 bytes total size 49531904 Dec 31 19:23:52 pad rpm: rsync-2.6.3-alt3 installed Dec 31 19:23:53 pad rpm: rsync-3.0.4-alt3 removed Dec 31 19:23:53 pad rpm: rsync-server-2.6.3-alt3 installed Dec 31 19:23:53 pad rpm: rsync-server-3.0.4-alt3 removed Dec 31 19:24:13 pad rsyncd[16164]: rsync on pub/Linux/pmagic-3.1.iso.zip from localhost.localdomain (127.0.0.1) Dec 31 19:24:14 pad rsyncd[16164]: 127.0.0.1 - - [2008/12/31 17:24:14] "GET /pub/Linux/pmagic-3.1.iso.zip" - 49531904 "" "" Dec 31 19:24:14 pad rsyncd[16164]: wrote 28289 bytes read 49406 bytes total size 49531904 Thus this "log format" configuration worked for updates/Master/2.4 package but broke for Sisyphus one (it was noted that 2.6.9 would be broken already). Now it seems to be simply ignored.
Created attachment 3176 [details] rsync2webalizer script PS: the whole affair was set up to make rsync generate CLF (common log format) logs to be fed into webalizer after being processed with the attached script by Jim Hefferon who wrote it for CTAN.
You forgot to enable "transfer logging". Starting with 2.6.4-alt1 (release date Mar 31 2005, see %changelog), this option is no longer enabled by default.
Hm, I've definitely read up on that option and *seem* to have tried that... anyways, this works for me now with 3.0.4-alt3: log format = %a - - [%t] "GET /%m/%f" - %l "" "" transfer logging = yes syslog facility = ftp (just in case, "log file" adds stupid prefix to format string without being asked to) Sorry for bothering :)
Created attachment 3180 [details] rsync2webalizer script OK, so here's an updated version of the script which would take current changes in logging into account (and works for me) -- just in case anyone needs to feed rsync stats into webalizer using a convertor to common log format. Should package it, probably...