Skip to contentSkip to conversation

cluster/cman/daemon logging.c

Cluster-devel [email protected] 1 participant 1 message Sep 19, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: pcaulfield at sourceware.org 2007-09-19 12:49:38

Modified files:
cman/daemon : logging.c

Log message:
Don't use _logsys functions as I get my wrist slapped.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/logging.c.diff?cvsroot=cluster&r1=1.15&r2=1.16

cman/daemon/logging.c +1 -1
@@ -30,7 +30,7 @@
 
 void init_debug(int subsystems)
 {
-	logsys_subsys_id = _logsys_subsys_create("CMAN", (subsystems?LOG_LEVEL_DEBUG:LOG_LEVEL_WARNING) );
+	logsys_subsys_id = logsys_config_subsys_set ("CMAN", LOGSYS_TAG_LOG, (subsystems?LOG_LEVEL_DEBUG:LOG_LEVEL_WARNING) );
 	logsys_config_mode_set(LOG_MODE_BUFFER_BEFORE_CONFIG | ((subsystems)?LOG_MODE_OUTPUT_STDERR:0));
 	subsys_mask = subsystems;
 }