Skip to contentSkip to conversation

rgmanager: Don't clear foreground log mode on reconfig

PATCH New Lon Hohberger 2 participants 2 messages Mar 30, 2009 – Mar 31, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 rgmanager/src/clulib/logging.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
rgmanager/src/clulib/logging.c +1 -1
index e1bf751..0ef5e16 100644
@@ -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;
Signature · 1 line
1.6.0.6
#1 lore raw

PATCH 1/1 rgmanager: Don't clear foreground log mode on reconfig

Good to go.

Quoted 22 lines · Lon Hohberger

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

---
 rgmanager/src/clulib/logging.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
rgmanager/src/clulib/logging.c +1 -1
index e1bf751..0ef5e16 100644
@@ -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;