mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	Defect 3731
This commit is contained in:
		@@ -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();
 | 
			
		||||
            };
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user