From: Wayne Davison Date: Fri, 3 Feb 2006 20:39:58 +0000 (+0000) Subject: Mention who is outputting the "rsync error" or "rsync warning". X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/fa9e950b1a522696e4bd2e8f38b3cb1a8808c90d Mention who is outputting the "rsync error" or "rsync warning". --- diff --git a/log.c b/log.c index af097122..4f531078 100644 --- a/log.c +++ b/log.c @@ -733,11 +733,11 @@ void log_exit(int code, const char *file, int line) /* VANISHED is not an error, only a warning */ if (code == RERR_VANISHED) { - rprintf(FINFO, "rsync warning: %s (code %d) at %s(%d)\n", - name, code, file, line); + rprintf(FINFO, "rsync warning: %s (code %d) at %s(%d) [%s]\n", + name, code, file, line, who_am_i()); } else { - rprintf(FERROR, "rsync error: %s (code %d) at %s(%d)\n", - name, code, file, line); + rprintf(FERROR, "rsync error: %s (code %d) at %s(%d) [%s]\n", + name, code, file, line, who_am_i()); } } }