Summary: | rsyncd ignores "log format" | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Sisyphus | Reporter: | Michael Shigorin <mike> | ||||||
Component: | rsync-server | Assignee: | placeholder <placeholder> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | qa-sisyphus | ||||||
Severity: | normal | ||||||||
Priority: | P2 | CC: | ab, glebfm, ldv, placeholder | ||||||
Version: | unstable | ||||||||
Hardware: | all | ||||||||
OS: | Linux | ||||||||
Attachments: |
|
Description
Michael Shigorin
2008-12-31 20:35:43 MSK
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...
|