mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 13:22:36 +00:00 
			
		
		
		
	Ignore syslog error in monitorctrl when setNodeStatusAttributes (#4459)
This commit is contained in:
		@@ -704,9 +704,7 @@ sub setNodeStatusAttributes {
 | 
			
		||||
                $updates{'status'}     = $_;
 | 
			
		||||
                $updates{'statustime'} = $currtime;
 | 
			
		||||
                my $nodestate = "@$nodes status: $updates{'status'} statustime: $updates{'statustime'}";
 | 
			
		||||
                openlog('xcat', 'ndelay', 'local4');
 | 
			
		||||
                syslog('local4|info', '%s', $nodestate);
 | 
			
		||||
                closelog();
 | 
			
		||||
                xCAT::MsgUtils->message('S', "$nodestate");
 | 
			
		||||
                my $where_clause;
 | 
			
		||||
                my $dbname = xCAT::Utils->get_DBName();
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user