summaryrefslogtreecommitdiff
path: root/log.c
Commit message (Collapse)AuthorAgeFilesLines
* Point out that the file_struct in log_delete is zero-initializedMatt McCutchen2010-04-241-1/+1
| | | | | | | because it is static. It took me long enough to realize this that I think it is worth documenting.
* Mention who got the unknown logcode.Wayne Davison2009-11-081-1/+1
|
* More improvements for abnormal exits.Wayne Davison2009-11-081-1/+0
|
* Try to silence some warnings from "checker".Wayne Davison2009-11-071-1/+1
|
* Added notifications about error-exit values:Wayne Davison2009-11-071-1/+2
| | | | | | | | | | - The receiver notifies the generator if it is exiting with an error, and then, if it is a server, waits around for the generator to die. This ensures that the client side has time to read the error. - The generator or sender will notifiy the other side of the transfer of an error-exit value if protocol 31 is in effect. This will get rid of some "connection unexpectedly closed" errors that are really expected events due to a fatal exit on the other side.
* A daemon treats --msgs2stderr as "output only to the log, not the user".Wayne Davison2009-11-011-4/+10
|
* Make sure rwrite() can handle any logcode value in --msgs2stderr mode.Wayne Davison2009-11-011-0/+4
|
* Fix %b and %c so that they count per-transfer bytes again.Wayne Davison2009-10-251-31/+33
|
* Enhance log_format_has() to understand the "'" modifier.Wayne Davison2009-10-251-1/+3
|
* Give iconvbufs() an ICB_INIT flag.Wayne Davison2009-10-231-1/+1
|
* A major overhaul of I/O routines, creating perform_io().Wayne Davison2009-10-171-2/+2
| | | | | | | | | | | | | | | | | | Files-from data is now sent as multiplexed I/O so that it can mingle with any messages (such as debug output). Requires protocol 31. Protocol 31 no longer disables output verbosity in a couple instances that used to cause protocol issues. Got rid of MSG_* messages that have implied raw data that follows after them. We instead send a negative index value as a part of the raw data stream, which is guaranteed to be output together with the following data. This only affects the (in-progress) protocol 31 and the (self- contained) communication stream from the receiver to the generator. Added --debug=IO and improved --debug=FLIST. Some --debug=IO output requires --msgs2stderr to be used to see it (i.e. sending a message about sending a message would send another message, ad infinitum).
* Adding a way for log-format numbers to become more human readable.Wayne Davison2009-02-181-3/+14
|
* Added the "reverse lookup" daemon-config parameter.Matt McCutchen2009-01-151-2/+9
|
* Update the copyright year.Wayne Davison2009-01-031-1/+1
|
* Convey the cleaned-up module-path to the user in all cases.Wayne Davison2008-09-111-1/+2
| | | | Fixed a just-introduced problem with a relative module-path.
* Fix the %P logfile escape inside a chroot.Wayne Davison2008-09-101-2/+1
|
* Split up the ifuncs.h file into 3 .h files.Wayne Davison2008-09-011-1/+2
|
* Output numbers in 3-digit groups by default (e.g. 1,234,567).Wayne Davison2008-09-011-6/+6
| | | | | Also improved the human-readable output functions, including adding the ability to output negative numbers.
* Improved rwrite() to handle a stderr exception without playing gamesWayne Davison2008-08-241-5/+4
| | | | with the msgs2stderr value.
* An improved RERR_PARTIAL message.Wayne Davison2008-08-171-1/+1
|
* When using --iconv, if a server-side receiver can't convert a filename,Wayne Davison2008-08-021-1/+5
| | | | it now outputs the name back to the client without mangling the charset.
* Explicitly cast a -1 that is being assigned to a size_t.Wayne Davison2008-07-211-1/+1
|
* Improved var-checker and tweaked all the issues it found.Wayne Davison2008-07-211-1/+1
|
* Include the array-size in array externs so that IBM's code-checkerWayne Davison2008-07-201-2/+2
| | | | can do more checking for us.
* Improved the handling of --msgs2stderr a little more.Wayne Davison2008-07-201-5/+5
|
* Added a debug-helping option, --msgs2stderr, than should help allWayne Davison2008-07-201-0/+7
| | | | | messages to be seen in a situation where rsync is dying (as long as stderr is a viable output method for the remote rsync).
* Added a '%C' (MD5 checksum) flag for the output/logfile formatting.Wayne Davison2008-07-191-0/+25
|
* Use big_num() in a few more places.Wayne Davison2008-07-171-6/+6
|
* Changed human_num() to big_num() with an extra arg so that it canWayne Davison2008-07-171-4/+4
| | | | be used in place of all %.0f output idioms.
* Added the --info=FLAGS an --debug=FLAGS options, which allowsWayne Davison2008-07-131-7/+6
| | | | fine-grained output control (in addition to the coarse -v).
* The --progress output now leaves the cursor at the end of the lineWayne Davison2008-07-051-1/+7
| | | | | | (instead of the start) in order to be extra sure that an error won't overwrite it. We also ensure that the progress option can't be enabled on the server side.
* Improved the progress_is_active code to not overwrite the progressWayne Davison2008-06-041-0/+6
| | | | output in more circumstances.
* Fixed the %M escape, which was munging the wrong spaces.Wayne Davison2008-04-151-1/+1
|
* Fixed some itemized logging failures:Wayne Davison2008-03-101-9/+15
| | | | | | | | | | | | - If a symlink/device/special-file changes its value without any attribute changes, the itemized event no longer gets dropped. - We put a 'c' into the checksum/change field now to indicate when a symlink/device/special-file changes its value without changing its type. This lets us properly interpret the --copy-links output to know which items are getting copied without changes and which are getting created with new content. - Fixed the 'T' itemized output for a symlink when rsync tries to set the right time but fails due to lack of OS/disk support.
* Include 2008 in the copyright years.Wayne Davison2008-03-011-1/+1
|
* Extended the protocol-30 info-passing code at startup, and use it toWayne Davison2008-02-181-1/+3
| | | | | | | | | | tell the client if the server can set the times on a symlink (both the server->client byte and the client->server use of -e). Make use of this info to allow the proper output of the 't' flag when rsync can set the time on a symlink (and we're talking protocol >= 30). Added output of "[no] symtimes" info in the --version message. Fixed the itemize.test so that it works when rsync believes that it can set the time of a symlink, but it can't really do it.
* Decided to pad the "*deleting" message to make the names line up.Wayne Davison2008-02-171-1/+1
|
* Fixed a FALL THROUGH comment.Wayne Davison2007-12-161-1/+1
|
* Adding --contimeout=SECONDS option.Wayne Davison2007-11-281-0/+1
|
* New logging categories added to allow differentiation betweenWayne Davison2007-11-221-14/+24
| | | | | transfer errors, normal errors, and warnings. New messages are translated into old FERROR/FINFO categories for older protocols.
* Moved inline functions from rsync.h into ifuncs.h.Wayne Davison2007-09-221-0/+1
|
* Make use of new iconvbufs() function.Wayne Davison2007-09-181-16/+15
|
* Prevent a server from outputting an end-of-run message about itsWayne Davison2007-09-151-1/+1
| | | | error-code that cannot be sent successfully.
* Tweaking the license text a bit more.Wayne Davison2007-07-101-2/+3
|
* Switching to GPL 3.Wayne Davison2007-07-071-3/+2
|
* Switch the checking of preserve_[ug]id var to checking [ug]id_ndx varWayne Davison2007-07-021-4/+4
| | | | | when the code is about to use the [ug]id_ndx value as an index (since this saves a memory reference).
* Use module_dir instead of lp_path().Wayne Davison2007-07-021-1/+2
|
* - Use F_OWNER() and F_GROUP() instead of F_UID() and F_GID().Wayne Davison2007-05-201-5/+5
| | | | - Use the new FLAG_SKIP_GROUP define.
* The --iconv option has now made it to the trunk.Wayne Davison2007-04-261-18/+24
|
* Changed F_ROOTDIR() to F_PATHNAME().Wayne Davison2007-04-261-2/+2
|