public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* rgmanager: master - rgmanager: Don't clear foreground log mode on reconfig
@ 2009-03-31 18:38 Lon Hohberger
  0 siblings, 0 replies; only message in thread
From: Lon Hohberger @ 2009-03-31 18:38 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/rgmanager.git?p=rgmanager.git;a=commitdiff;h=70b90cab714e51c2ca1e4f59dc85120d902fda01
Commit:        70b90cab714e51c2ca1e4f59dc85120d902fda01
Parent:        f7339f3e266108ceddf4e078529b9a5cd44ff3f8
Author:        Lon Hohberger <lhh@redhat.com>
AuthorDate:    Mon Mar 30 17:00:29 2009 -0400
Committer:     Lon Hohberger <lhh@redhat.com>
CommitterDate: Tue Mar 31 14:36:47 2009 -0400

rgmanager: Don't clear foreground log mode on reconfig

Foreground logging should not be reconfigured when
we reconfigure rgmanager since it is set at the command
line and not in the configuration.

Signed-off-by: Lon Hohberger <lhh@redhat.com>
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 rgmanager/src/clulib/logging.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rgmanager/src/clulib/logging.c b/rgmanager/src/clulib/logging.c
index e1bf751..0ef5e16 100644
--- a/rgmanager/src/clulib/logging.c
+++ b/rgmanager/src/clulib/logging.c
@@ -86,7 +86,7 @@ ccs_read_old_logging(int ccsfd, int *facility, int *priority)
 void
 setup_logging(int ccs_handle)
 {
-	int mode = DEFAULT_MODE;
+	int mode = default_mode;
 	int facility = DEFAULT_FACILITY;
 	int loglevel = default_priority, filelevel = default_priority;
 	int debug = 0;


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

only message in thread, other threads:[~2009-03-31 18:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-31 18:38 rgmanager: master - rgmanager: Don't clear foreground log mode on reconfig Lon Hohberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).