Skip to contentSkip to conversation

conga/ricci/modules/log LogParser.cpp

Cluster-devel [email protected] 1 participant 1 message Jun 14, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: kupcevic at sourceware.org 2006-06-14 21:18:16

Modified files:
ricci/modules/log: LogParser.cpp

Log message:
Logging module: add fence_ to fencing search

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/log/LogParser.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3

ricci/modules/log/LogParser.cpp +9 -3
@@ -102,18 +102,24 @@
   MutexLocker l(mutex);
   if (!init) {
     init = true;
-    sets.push_back(tag_set("cluster", 
-			   set<string>(cluster, 
-				       cluster + sizeof(cluster)/sizeof(char*))));
+    tag_set clu("cluster", 
+		set<string>(cluster, 
+			    cluster + sizeof(cluster)/sizeof(char*)));
+    clu.match.insert("fence_");
+    sets.push_back(clu);
+    
     sets.push_back(tag_set("cluster service manager", 
 			   set<string>(cluster_service_manager, 
 				       cluster_service_manager + sizeof(cluster_service_manager)/sizeof(char*))));
+    
     sets.push_back(tag_set("lvs", 
 			   set<string>(LVS, 
 				       LVS + sizeof(LVS)/sizeof(char*))));
+    
     sets.push_back(tag_set("storage", 
 			   set<string>(storage, 
 				       storage + sizeof(storage)/sizeof(char*))));
+    
     tag_set SEL("selinux", 
 		set<string>(selinux, 
 			    selinux + sizeof(selinux)/sizeof(char*)));