search for: log_after_transfer

Displaying 1 result from an estimated 1 matches for "log_after_transfer".

2023 Jul 03
0
[PATCH] Add option --log-after to log after moving file into place
...n.c index 0c60b86d..adc14965 100644 --- a/main.c +++ b/main.c @@ -93,7 +93,10 @@ extern int trust_sender_filter; extern int trust_sender_args; extern struct stats stats; extern char *stdout_format; +extern char *logfile_name; extern char *logfile_format; +extern char *logafter_name; +extern int log_after_transfer; extern char *filesfrom_host; extern char *partial_dir; extern char *rsync_path; @@ -1053,6 +1056,10 @@ static int do_recv(int f_in, int f_out, char *local_name) io_start_buffering_in(f_in); io_start_multiplex_out(f_out); + /* Reopen log file for --log-after */ + if (log_after_transfe...