0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00

vacation.pl:

- (really) log to "mail" syslog facility

reported by Johan Meiring (jmeiring) in 
http://sourceforge.net/tracker/index.php?func=detail&aid=3086890&group_id=191583&atid=937964

This is a backport of r1073 to the SVN branch.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/branches/postfixadmin-2.3@1074 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
Christian Boltz 2011-06-23 20:53:07 +00:00
parent 5153b1e5b4
commit 3be1184a9b
2 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ Changes after 2.3.3 release (postfixadmin-2.3 branch)
- list-domain: fix SELECT query to work with PgSQL even when using custom fields - list-domain: fix SELECT query to work with PgSQL even when using custom fields
- create-domain: force domain name to lowercase to avoid problems with PgSQL - create-domain: force domain name to lowercase to avoid problems with PgSQL
foreign keys foreign keys
- fix vacation.pl to log to "mail" syslog facility
Version 2.3.3 - 2011/03/14 - SVN r1010 (postfixadmin-2.3 branch) Version 2.3.3 - 2011/03/14 - SVN r1010 (postfixadmin-2.3 branch)
--------------------------------------------------------------- ---------------------------------------------------------------

View File

@ -213,7 +213,7 @@ if($test_mode == 1) {
if($syslog == 1) { if($syslog == 1) {
my $syslog_appender = Log::Log4perl::Appender->new( my $syslog_appender = Log::Log4perl::Appender->new(
'Log::Dispatch::Syslog', 'Log::Dispatch::Syslog',
Facility => 'mail', facility => 'mail',
); );
$logger->add_appender($syslog_appender); $logger->add_appender($syslog_appender);
} }