All of lore.kernel.org
 help / color / mirror / Atom feed
From: fabbione@sourceware.org <fabbione@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Cluster Project branch, master, updated. gfs-kernel_0_1_22-219-gbf52c81
Date: 28 Apr 2008 06:14:49 -0000	[thread overview]
Message-ID: <20080428061449.28968.qmail@sourceware.org> (raw)

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



                 reply	other threads:[~2008-04-28  6:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080428061449.28968.qmail@sourceware.org \
    --to=fabbione@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.