Wayne Davison
b64ee91a41
Changed rprintf() messages that started with a newline into two
...
rprintf() calls (the first of which just outputs an empty line).
2006-06-01 08:04:47 +00:00
Wayne Davison
d0133e6eba
- Got rid of the FNAME logcode enum.
...
- rwrite() no longer supports newlines at the start of the string.
- maybe_log_item() avoids outputting a non-significant update to
the log file if the log-file-format doesn't include %i.
2006-06-01 08:04:43 +00:00
Wayne Davison
1925c3448c
- Got rid of the FNAME logcode enum.
...
- We no longer output " is uptodate" messages to the log file.
2006-06-01 08:04:40 +00:00
Wayne Davison
19b8587654
Fixed a typo that set stdout_format_has_i instead of logfile_format_has_i.
2006-06-01 06:49:15 +00:00
Wayne Davison
051f5df526
Mention the latest --log-* option changes.
2006-05-30 18:35:36 +00:00
Wayne Davison
e525519509
Authorize the current host in the rsyncd.conf file in addition
...
to localhost and 127.0.0.1 (which will hopefully fix the failing
of the daemon tests on FreeBSD).
2006-05-30 18:26:17 +00:00
Wayne Davison
4b90820d9f
- Added the --log-file-format option to the daemon section.
...
- Updated and improved the --out-format section.
- Moved and improved the description of the non-daemon --log-file and
--log-file-format options.
2006-05-30 17:47:20 +00:00
Wayne Davison
2873603ab5
If the user specifies --log-file-format without --log-file,
...
ignore the useless value.
2006-05-30 17:41:54 +00:00
Wayne Davison
ec52c3b9da
Skip transfer logging if the logfile_format string is empty.
2006-05-30 17:41:04 +00:00
Wayne Davison
10ae3406ee
Allow the --log-file-format=FMT option (if given when starting a daemon)
...
to override the "log format" setting.
2006-05-30 17:15:24 +00:00
Wayne Davison
232658d9d3
- Allow the --log-file-format option to override the "log format"
...
setting when starting a daemon.
- Make a daemon refuse all --log-file* options.
- Don't use refuse logic on daemon-mode options given to a daemon
module -- reject them via their own message.
2006-05-30 17:14:17 +00:00
Wayne Davison
c000002f46
Document the new --log-file-format option and renamed --log-format to
...
--out-format.
2006-05-29 22:57:05 +00:00
Wayne Davison
2fedf3d596
- Use the renamed stdout_format_has_i variable.
...
- Call log_item() with its new arg (and call it more often).
2006-05-29 22:57:01 +00:00
Wayne Davison
887d745549
Turn off the --log-file option on the server side for a local transfer.
2006-05-29 22:56:58 +00:00
Wayne Davison
20f90d5e8a
Use the renamed stdout_format_has_i variable.
2006-05-29 22:56:55 +00:00
Wayne Davison
17bda2d109
- Use the renamed stdout_format_has_i variable.
...
- Call log_item() with its new arg.
2006-05-29 22:56:51 +00:00
Wayne Davison
b534351058
- Use the renamed stdout_format_has_i, stdout_format_has_o_or_i, and
...
stdout_format variables.
- In rwrite(), make FNAME output only go to the client.
- Added an arg to log_item() that indicates what kind of output is
desired: FNAME (stdout only), FLOG (log file only), or FINFO (both).
2006-05-29 22:56:48 +00:00
Wayne Davison
b3e4e7ef2e
- Renamed log_format -> stdout_format.
...
- Renamed log_format_has_i -> stdout_format_has_i.
- Renamed log_format_has_o_or_i -> stdout_format_has_o_or_i.
- Changed the --log-format to --out-format (though we still accept
the old option, and still send it as well).
- Added the --log-file-format option (and got rid of the code that
made --out-format sometimes affect the log-file's format).
2006-05-29 22:56:45 +00:00
Wayne Davison
a3f6dbdf5c
The print_child_argv() function should be outputting FCLIENT
...
messages these days, not FINFO.
2006-05-29 22:33:06 +00:00
Wayne Davison
95ae5224b0
The cleanup_set() call was not getting called w/o --partial.
2006-05-18 18:53:24 +00:00
Wayne Davison
03dbc0b831
- Improved the setting of cleanup_new_fname and cleanup_fname.
...
- Don't try to keep a partial file if cleanup_new_fname is not set.
2006-05-18 18:52:40 +00:00
Wayne Davison
ffa8ab8eb5
Improved two lseek() error messages.
2006-05-18 17:04:40 +00:00
Wayne Davison
a17e119d8b
Mention the latest fixes.
2006-05-17 06:54:11 +00:00
Wayne Davison
6bfc7b4d79
Tweaked a couple things in try_dests_reg().
2006-05-16 22:27:26 +00:00
Wayne Davison
b3e8e7c79e
Make --quiet quieter (like it used to be), but also don't allow it
...
to interfere with any logging of messages that is going on.
2006-05-14 00:27:33 +00:00
Wayne Davison
bdd3a4fef5
Updated the (commented out) valgrind command.
2006-05-11 23:41:18 +00:00
Wayne Davison
a00f5a371e
Got rid of the .ignore kluge.
2006-05-11 23:38:10 +00:00
Wayne Davison
55c412630c
Added ".bzr/" to the default CVS exclusions.
2006-05-11 07:54:33 +00:00
Wayne Davison
778ee637ee
This file hasn't been needed for a while now...
2006-05-10 18:34:32 +00:00
Wayne Davison
80aff93b32
Added the updating of a symlink to the very latest nightly tar file.
2006-05-10 16:37:07 +00:00
Wayne Davison
6721973e37
Mention the --log-file option.
2006-05-09 18:44:58 +00:00
Wayne Davison
a2ed5801d3
Document the new --log-file option.
2006-05-09 18:31:24 +00:00
Wayne Davison
15ce4b24fc
Output the progress message as FCLIENT instead of FINFO.
2006-05-09 18:31:19 +00:00
Wayne Davison
c5260884d6
Got rid of the call to log_exit() now that the cleanup code handles this.
2006-05-09 18:31:16 +00:00
Wayne Davison
ea124cb324
- Turned some FINFO rprintf() calls into FCLIENT calls that don't go
...
into a client-side log-file.
- Added a couple FLOG rprintf() calls.
2006-05-09 18:31:13 +00:00
Wayne Davison
13b597fa71
- Use the new logfile_* variables that are set by the --log-file
...
option instead of the old daemon_log_* variables.
- Renamed the "logfile" variable "logfile_fp".
- Enhanced the logic in rwrite() to handle client-side FLOG output.
2006-05-09 18:31:10 +00:00
Wayne Davison
ecc7623e7f
Some demon_log_* variables changed into logfile_* variables that are
...
also used by the new --log-file option.
2006-05-09 18:31:06 +00:00
Wayne Davison
87c0f9d6b4
Added --log-file and several logfile_* support variables.
2006-05-09 18:31:03 +00:00
Wayne Davison
1cfcb8af11
Revised the logic for when to call log_exit() to handle the
...
new --log-file option.
2006-05-09 18:31:00 +00:00
Wayne Davison
56aaa4c44c
Tweaked the comment about log-message categories.
2006-05-09 18:30:57 +00:00
Wayne Davison
4b6a7bd706
Got rid of an unused variable.
2006-05-09 18:00:15 +00:00
Wayne Davison
5bc933a285
Mention the latest bugfix and improved an old description.
2006-05-09 17:46:04 +00:00
Wayne Davison
01d124d9e2
If the --partial-dir value is an absolute path and we use a file in
...
it as an alternate basis file, make sure that we delete it when the
associated destination file is successfully updated.
2006-05-09 17:38:47 +00:00
Wayne Davison
58a06312a4
Improved the doc for --existing and --ignore-existing.
2006-05-05 20:41:17 +00:00
Wayne Davison
c2c8db9195
- Moved the sanitizing of the partial_dir value here from options.c.
...
- Call die_on_unsafe_path() in a few needed places.
- Handle the server-excluded checks for an absolute partial_dir and
the --*-dest options.
2006-05-05 16:00:33 +00:00
Wayne Davison
d1e6b0e225
- Added some calls to die_on_unsafe_path() to the path-sanitizing code.
...
- Moved the sanitizing of the partial_dir value into main.c.
2006-05-05 15:58:44 +00:00
Wayne Davison
8936367695
- Added a call to die_on_unsafe_path() to handle_partial_dir().
...
- Fixed some strange slash handling in partial_dir_fname().
2006-05-05 15:54:20 +00:00
Wayne Davison
8517e9c10a
A few minor changes to match the recent --help changes in
...
options.c.
2006-05-05 06:24:25 +00:00
Wayne Davison
fcecb70b1d
- Don't check HAVE_LINK directly, use SUPPORT_HARD_LINKS instead.
...
- Updated a few items in the --help text.
2006-05-05 06:16:22 +00:00
Wayne Davison
582c1589f3
Call the new die_on_unsafe_path() function in a few places.
2006-05-05 05:57:48 +00:00