Two log files instead of one?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Two log files instead of one?

Samba - rsync mailing list
Hi all,

I'm a bit confused about the log-file option for the daemon rsync.

What the rsyncd.conf manual page says about the 'log file' option in

"This setting can be overridden by using the --log-file=FILE or
--dparam=logfile=FILE command-line options.  The former overrides all
the log-file parameters of  the  daemon  and all  module  settings."

And the rsync manual page in the daemon section says:

"This option tells the rsync daemon to use the given log-file name
instead  of  using  the "log file" setting in the config file."

From this I would assume that when I run the daemon like this:
$/usr/bin/rsync --daemon --log-file=/tmp/rsync_test.log --no-detach
"$OPTIONS", I would get one log file - /tmp/rsync_test.log. Instead when
I run rsync from a remote client, two log files are created. There is a
piece of information in the /var/log/rsyncd.log file (the default one
from /etc/rsyncd.conf) and another piece of information in
rsync_test.log. Is this how it is supposed to work or is it a bug?


Michal Ruprich

Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options:
Before posting, read: