Hi,

I would like to log whatever happens with rsync on client side when it runs
with Cygwin on NT4.
First, I just did a redirect of the screen output to a log-file:

rsync -rtv --delete --modify-window=2 --stats /cygdrive/g/users/bco/test/
bee2bs01::d/test/ >>c:\rsync\log\%FDATE%.log


The problem with this method is that it does not redirect whatever Rsync
reports as errors; because they are showed on the screen. This is a shame,
because that's the info that interests us.

I've fiddled around quite a bit with the "--log-format=" option, but I
don't get any valid output, perhaps because NT uses another escape
character than Unix/Linux.


Anyone any ideas to still be able to capture all error messages into a
logfile?


Thx already!



MVG,

Bart Coninckx
Network Administrator
CNE, ASE
*************************************
Watco ICT Services
Lilsedijk 19
B-2340 Beerse
Belgium

e-mail: [EMAIL PROTECTED]
Tel: + 32 (0) 14 60 99 42
Fax: + 32 (0) 14 62 41 47
*************************************



-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Reply via email to