Bugs item #3086890, was opened at 2010-10-13 22:18
Message generated for change (Settings changed) made by christian_boltz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3086890&group_id=191583
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Vacation
Group: None
Status: Closed
Resolution: Accepted
Priority: 5
Private: No
Submitted By: Johan Meiring (jmeiring)
Assigned to: Nobody/Anonymous (nobody)
Summary: vacation.pl does not log to mail facility when using syslog
Initial Comment:
vacation.pl does not seem to use the 'mail' facility when using syslog.
It seems related to the word "Facility" starting with a capital F.
The following patch fixes it:
mailhost:/var/spool/vacation# diff -u vacation.pl.orig vacation.pl
--- vacation.pl.orig 2010-10-13 22:12:03.000000000 +0200
+++ vacation.pl 2010-10-13 22:14:32.000000000 +0200
@@ -214,7 +214,7 @@
if($syslog == 1) {
my $syslog_appender = Log::Log4perl::Appender->new(
'Log::Dispatch::Syslog',
- Facility => 'mail',
+ facility => 'mail',
);
$logger->add_appender($syslog_appender);
}
----------------------------------------------------------------------
>Comment By: Christian Boltz (christian_boltz)
Date: 2011-06-23 22:54
Message:
backported to the 2.3 branch in SVN r1074
----------------------------------------------------------------------
Comment By: GingerDog (gingerdog)
Date: 2011-06-20 14:51
Message:
Thanks; change applied to svn. See revision 1073.
----------------------------------------------------------------------
Comment By: GingerDog (gingerdog)
Date: 2011-06-20 14:51
Message:
Thanks for the bug report; we believe this has been fixed in subversion.
----------------------------------------------------------------------
Comment By: maharaja (maharaja)
Date: 2011-06-20 14:32
Message:
i can confirm this on debian 6.0 using liblog-log4perl-perl 1.29-1
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3086890&group_id=191583
|