mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	fix 3053535, syslogging everything as error ( shows up on AIX)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7605 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -459,7 +459,11 @@ sub message
 | 
			
		||||
        eval {
 | 
			
		||||
            openlog("xCAT", '', 'local4');
 | 
			
		||||
            setlogsock(["tcp", "unix", "stream"]);
 | 
			
		||||
            syslog("err", $rsp);
 | 
			
		||||
            if ($sev eq 'SE') {
 | 
			
		||||
              syslog("err", $rsp);
 | 
			
		||||
            } else {
 | 
			
		||||
              syslog("info", $rsp);
 | 
			
		||||
            }
 | 
			
		||||
            closelog();
 | 
			
		||||
        };
 | 
			
		||||
        my $errstr = $@;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user