"%h %a %u" string in --log-file-format doesn't work

Wayne Davison wayned at samba.org
Thu May 7 15:10:03 GMT 2009


On Thu, May 07, 2009 at 04:42:28PM +0530, Jignesh Shah wrote:
> It does't include the host name, IP address and authenticated user name and
> instead it keep it as "%h %a %u". Could any one tell me what is wrong here?

You aren't doing a daemon copy, which is the only time those values are
currently defined.  I'm considering enhancing %a and %h to derive the IP
from the environment when possible (like daemon-mode over remote-shell
currently does).  That would let someone do normal (non-daemon), ssh
copies and still get an IP+hostname put into the log file.

..wayne..


More information about the rsync mailing list