[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] [PATCH] 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>
---
 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;
-- 
1.6.0.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]