Package: rsnapshot Version: 1.3.1-3 Severity: minor Tags: patch Some warnings are logged using the print_warn function, which in turns should call log_warn for the message to be saved in the log file. However, print_warn calls log_msg instead, so the WARNING prefix that would be added by log_warn is missing in the log file.
Fixing this is quite easy: --- rsnapshot.~1~ 2011-07-09 16:39:45.000000000 +0200 +++ rsnapshot 2012-09-25 11:55:41.000000000 +0200 @@ -2032,7 +2032,7 @@ } # write to log - log_msg($str, $level); + log_warn($str, $level); } # accepts string, and level -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages rsnapshot depends on: ii liblchown-perl 1.01-1+b2 ii logrotate 3.8.1-4 ii perl 5.14.2-13 ii rsync 3.0.9-3 Versions of packages rsnapshot recommends: ii openssh-client [ssh-client] 1:6.0p1-3 rsnapshot suggests no packages. -- Configuration Files: /etc/cron.d/rsnapshot changed [not included] -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org