All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] Cluster Project branch, master, updated. gfs-kernel_0_1_22-219-gbf52c81
@ 2008-04-28  6:14 fabbione
  0 siblings, 0 replies; only message in thread
From: fabbione @ 2008-04-28  6:14 UTC (permalink / raw)
  To: cluster-devel.redhat.com

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cluster Project".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=bf52c81764cc41244220426f99a74c15dc43efe2

The branch, master has been updated
       via  bf52c81764cc41244220426f99a74c15dc43efe2 (commit)
      from  84ebd946dff09b1ed3c75ddfb7343b41453eb32b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bf52c81764cc41244220426f99a74c15dc43efe2
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
Date:   Mon Apr 28 08:13:11 2008 +0200

    [CMAN] Setup logging file
    
    Align cman logging options with the other subsystems and
    set logging file to LOGDIR "/cman.log".
    
    It is still possible to disable the feature by using the
    standard to_file: no config option (default to yes).
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>

-----------------------------------------------------------------------

Summary of changes:
 cman/daemon/cman-preconfig.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/cman/daemon/cman-preconfig.c b/cman/daemon/cman-preconfig.c
index 4f307f6..566fd46 100644
--- a/cman/daemon/cman-preconfig.c
+++ b/cman/daemon/cman-preconfig.c
@@ -643,6 +643,16 @@ static void add_cman_overrides(struct objdb_iface_ver0 *objdb)
 		objdb->object_key_create(logger_object_handle, "subsys", strlen("subsys"),
 					 "CMAN", strlen("CMAN")+1);
 
+		if (objdb_get_string(objdb, object_handle, "to_file", &logstr)) {
+			objdb->object_key_create(object_handle, "to_file", strlen("to_file"),
+						 "yes", strlen("yes")+1);
+		} 
+
+		if (objdb_get_string(objdb, object_handle, "logfile", &logstr)) {
+			objdb->object_key_create(object_handle, "logfile", strlen("logfile"),
+						 LOGDIR "/cman.log", strlen(LOGDIR "/cman.log")+1);
+		}
+
 		if (debug_mask) {
 			objdb->object_key_create(logger_object_handle, "debug", strlen("debug"),
 						 "on", strlen("on")+1);


hooks/post-receive
--
Cluster Project



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-28  6:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-28  6:14 [Cluster-devel] Cluster Project branch, master, updated. gfs-kernel_0_1_22-219-gbf52c81 fabbione

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.