From: Fabio M. Di Nitto Date: Tue, 31 Mar 2009 07:19:49 +0200 Subject: [Cluster-devel] [PATCH] rgmanager: Don't clear foreground log mode on reconfig In-Reply-To: <1238447674-20086-1-git-send-email-lhh@redhat.com> References: <1238447674-20086-1-git-send-email-lhh@redhat.com> Message-ID: <1238476789.1961.62.camel@cerberus.int.fabbione.net> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Good to go. On Mon, 2009-03-30 at 17:14 -0400, Lon Hohberger wrote: > 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 > --- > 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;