summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-28 03:28:30 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-28 03:28:30 +0000
commit11a5a3c704fd75325450ddae3fb2cb01f19b7111 (patch)
treec789324fae62d4d5fa8b2885fdfe95d6aae860ac /main.c
parent8bb5aa8fe8e4903dac0675279b745debdb888124 (diff)
downloadrsync-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 94e358fb..146f1e53 100644
--- a/main.c
+++ b/main.c
@@ -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);