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

2009-05-08 Thread Jignesh Shah
Ohhh,,..Thanks Wayne...Got it..

Thanks,
Jignesh

On Thu, May 7, 2009 at 8:40 PM, Wayne Davison way...@samba.org wrote:

 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..

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

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

2009-05-07 Thread Wayne Davison
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..
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html