2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-16 08:10:23 +00:00

Support for auditlog without syslog

This commit is contained in:
lissav
2014-09-11 13:39:55 -04:00
parent 61b8040369
commit aff90b34ac

View File

@@ -297,7 +297,9 @@ sub message
{ # if SA ( syslog and auditlog) or A ( only auditlog)then need to pull first entry from $rsp
# for syslog, to preserve old interface
$newrsp = $rsp;
if ($sev eq 'SA'){ # syslog and auditlog
$rsp = $newrsp->{syslogdata}->[0];
}
}
my $stdouterrf = \*STDOUT;
my $stdouterrd = '';