diff options
author | Wayne Davison <wayned@samba.org> | 2011-12-21 08:30:07 -0800 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2011-12-21 12:14:49 -0800 |
commit | 1a2704512a6f6c9bf267042ff8beb50a24e1d057 (patch) | |
tree | 3d382a00614ceacd2411108a2411af307651b44f /rsync.yo | |
parent | a3b62ff4cf1175a52c851d196b94aa378976621d (diff) | |
download | rsync-1a2704512a6f6c9bf267042ff8beb50a24e1d057.tar.gz |
Improve the handling of verbose/debug messages
The sender no longer allows a filelist to be sent in the middle of
parsing an incoming message, so that the directory sending doesn't block
all further input reading. The generator no longer allows recursive
reading of info/error messages when it is waiting for the message buffer
to flush. This avoids a stack overflow when lots of messages are coming
from the receiver and the sender is not reading things quickly enough.
The I/O code now avoids sending debug messages that could mess up the
I/O buffer it was in the middle of tweaking. This fixes an infinite
loop in reduce_iobuf_size() with high levels of debug enabled. Several
I/O-related messages were changed to output only when --msgs2stderr is
enabled.
Diffstat (limited to 'rsync.yo')
-rw-r--r-- | rsync.yo | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -535,8 +535,7 @@ reject your attempts at fine-grained control (if one or more flags needed to be send to the server and the server was too old to understand them). dit(bf(--debug=FLAGS)) -This option lets you have fine-grained control over the -debug +This option lets you have fine-grained control over the debug output you want to see. An individual flag name may be followed by a level number, with 0 meaning to silence that output, 1 being the default output level, and higher numbers increasing the output of that flag (for those @@ -548,6 +547,9 @@ are added for each increase in the verbose level. Some examples: verb( rsync -avvv --debug=none src/ dest/ rsync -avA --del --debug=del2,acl src/ dest/ ) +Note that some debug messages will only be output when bf(--msgs2stderr) is +specified, especially those pertaining to I/O and buffer debugging. + This option was added to 3.1.0, so an older rsync on the server side might reject your attempts at fine-grained control (if one or more flags needed to be send to the server and the server was too old to understand them). |