[Cluster-devel] conga/ricci/modules/log LogParser.cpp

kupcevic at sourceware.org kupcevic at sourceware.org
Wed Jun 14 21:18:16 UTC 2006


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

--- conga/ricci/modules/log/LogParser.cpp	2006/06/05 19:54:40	1.2
+++ conga/ricci/modules/log/LogParser.cpp	2006/06/14 21:18:16	1.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*)));




More information about the Cluster-devel mailing list