rgmanager: Don't clear foreground log mode on reconfig
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.
Signed-off-by Lon Hohberger <[email protected]>
--- rgmanager/src/clulib/logging.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
rgmanager/src/clulib/logging.c +1 -1
@@ -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
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.
Signed-off-by Lon Hohberger <[email protected]>--- rgmanager/src/clulib/logging.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)rgmanager/src/clulib/logging.c +1
-1@@ -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 ;