From a02372c5cb2d28e5ba731c6b45a03268a5de76a6 Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 12 Aug 2013 13:49:31 -0400 Subject: [PATCH] defect 3731 --- perl-xCAT/xCAT/MsgUtils.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/perl-xCAT/xCAT/MsgUtils.pm b/perl-xCAT/xCAT/MsgUtils.pm index a26cbe75e..6a554d8ae 100644 --- a/perl-xCAT/xCAT/MsgUtils.pm +++ b/perl-xCAT/xCAT/MsgUtils.pm @@ -10,7 +10,7 @@ if ($^O =~ /^aix/i) { } use strict; -use Sys::Syslog qw (:DEFAULT setlogsock); +use Sys::Syslog; use xCAT::Utils; #use locale; use Socket; @@ -456,7 +456,7 @@ sub message # If they want this msg to also go to syslog, do that now eval { - openlog("xCAT", '', 'local4'); + openlog("xCAT", "nofatal,pid", "local4"); if ($sev eq 'SE') { syslog("err", $rsp); } else { @@ -502,7 +502,7 @@ sub message { print $stdouterrf "Unable to open auditlog\n"; eval { - openlog("xCAT", '', 'local4'); + openlog("xCAT", "nofatal,pid", "local4"); syslog("err", "Unable to write to auditlog"); closelog(); }; @@ -519,7 +519,7 @@ sub message { # error print $stdouterrf "Unable to open auditlog\n"; eval { - openlog("xCAT", '', 'local4'); + openlog("xCAT", "nofatal,pid", "local4"); syslog("err", "Unable to open auditlog"); closelog(); };