diff --git a/perl-xCAT/xCAT/MsgUtils.pm b/perl-xCAT/xCAT/MsgUtils.pm index 4f7462669..a26cbe75e 100644 --- a/perl-xCAT/xCAT/MsgUtils.pm +++ b/perl-xCAT/xCAT/MsgUtils.pm @@ -457,7 +457,6 @@ sub message # If they want this msg to also go to syslog, do that now eval { openlog("xCAT", '', 'local4'); - setlogsock(["tcp", "unix", "stream"]); if ($sev eq 'SE') { syslog("err", $rsp); } else { @@ -504,7 +503,6 @@ sub message print $stdouterrf "Unable to open auditlog\n"; eval { openlog("xCAT", '', 'local4'); - setlogsock(["tcp", "unix", "stream"]); syslog("err", "Unable to write to auditlog"); closelog(); }; @@ -522,7 +520,6 @@ sub message print $stdouterrf "Unable to open auditlog\n"; eval { openlog("xCAT", '', 'local4'); - setlogsock(["tcp", "unix", "stream"]); syslog("err", "Unable to open auditlog"); closelog(); };