rsyncd log in common log format?
Martin Pool
mbp at sourcefrog.net
Thu Feb 28 10:53:56 EST 2002
On 27 Feb 2002, root <root at alan.smcvt.edu> wrote:
> I'm having trouble getting rsync to output the log into common log format.
>
> My web statistics program Webalizer (www.webalizer.org) wants the logs in
> Common Log Format (httpd.apache.org/docs/mod/mod_log_common.html).
That sounds like a cool idea.
> Briefly, that's a string
> host ident authuser date request status bytes
> subject to some conditions (for instance, the date is in square
> brackets).
Perhaps you can configure or patch webalizer to be more generous in
what it accepts as a log line? I think analog for example is
configurable in this way.
rsync automatically adding the date when writing to a file is kind of
dumb, but there you go.
Perhaps you could write a little Perl script to strip off the first
few fields?
--
Martin
More information about the rsync
mailing list