mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12702 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -9,10 +9,10 @@ BEGIN {
 | 
			
		||||
 | 
			
		||||
	while(1) {
 | 
			
		||||
                if((ns |& getline) > 0)
 | 
			
		||||
                        print $0 | "logger -t xcat"
 | 
			
		||||
                        print $0 | "logger -t xcat -p local4.info"
 | 
			
		||||
                else {
 | 
			
		||||
                    print "Retrying iSCSI paramater config script"
 | 
			
		||||
                    print "Retrying iSCSI paramater config script" | "logger -t xcat"
 | 
			
		||||
                    print "Retrying iSCSI paramater config script" | "logger -t xcat -p local4.info"
 | 
			
		||||
                    close(ns)
 | 
			
		||||
                    system("sleep 1")
 | 
			
		||||
                }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user