This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cluster: STABLE3 - rgmanager: Don't clear foreground log mode onreconfig


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=9939c15093f85e20f902cd0f6a285a838ab2c421
Commit:        9939c15093f85e20f902cd0f6a285a838ab2c421
Parent:        7d18d35f94112eecc40ad7ff760f1ba4b580dab6
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 11:29:30 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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]