diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-28 03:28:30 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-28 03:28:30 +0000 |
commit | 11a5a3c704fd75325450ddae3fb2cb01f19b7111 (patch) | |
tree | c789324fae62d4d5fa8b2885fdfe95d6aae860ac /main.c | |
parent | 8bb5aa8fe8e4903dac0675279b745debdb888124 (diff) | |
download | rsync-11a5a3c704fd75325450ddae3fb2cb01f19b7111.tar.gz |
and I thought I wasn't going to do any rsync coding for a while ...
Jason Andrade convinced me to add ftpd style logging of transfers,
enabled with a "transfer logging" option in rsyncd.conf
you can customise the format in log.c
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ static void report(int f) extern int do_stats; if (am_daemon) { - syslog(LOG_INFO,"wrote %.0f bytes read %.0f bytes total size %.0f\n", + rprintf(FLOG,"wrote %.0f bytes read %.0f bytes total size %.0f\n", (double)stats.total_written, (double)stats.total_read, (double)stats.total_size); |