Skip to contentSkip to conversation

cluster/rgmanager/src/utils clulog.c

Cluster-devel [email protected] 1 participant 1 message Aug 18, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: lhh at sourceware.org 2006-08-18 20:35:14

Modified files:
rgmanager/src/utils: clulog.c

Log message:
Fix mixup noted in 200776, but use LOG_INFO (as defined in clulog.h) as default rather than switching to notice so as not to change the actual behavior

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/utils/clulog.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.1.2.1&r2=1.1.2.2

rgmanager/src/utils/clulog.c +1 -2
@@ -35,7 +35,6 @@
 
 
 #define MAX_TOKENLEN   64
-#define DFLT_LOGLEVEL  LOG_NOTICE   /* taken from msgsvc.h */
 
 void
 usage(char *progname)
@@ -131,7 +130,7 @@
 	 * Let's see what loglevel the SM is running at.
 	 * TODO Get rgmgr log level
 	 */
-	clu_set_loglevel(DFLT_LOGLEVEL);
+	clu_set_loglevel(LOGLEVEL_DFLT);
     }
     result = clulog_pid(severity, pid, progname, logmsg);
     free(progname);