From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 799 invoked by alias); 31 Mar 2009 15:47:59 -0000 Received: (qmail 400 invoked by alias); 31 Mar 2009 15:47:57 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bastion.fedora.phx.redhat.com Subject: cluster: STABLE3 - rgmanager: Don't clear foreground log mode on reconfig To: cluster-cvs-relay@redhat.com X-Project: Cluster Project X-Git-Module: cluster.git X-Git-Refname: refs/heads/STABLE3 X-Git-Reftype: branch X-Git-Oldrev: 7d18d35f94112eecc40ad7ff760f1ba4b580dab6 X-Git-Newrev: 9939c15093f85e20f902cd0f6a285a838ab2c421 From: Lon Hohberger Message-Id: <20090331153446.457FF120197@lists.fedorahosted.org> Date: Tue, 31 Mar 2009 15:47:00 -0000 X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2009-q1/txt/msg00998.txt.bz2 Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=9939c15093f85e20f902cd0f6a285a838ab2c421 Commit: 9939c15093f85e20f902cd0f6a285a838ab2c421 Parent: 7d18d35f94112eecc40ad7ff760f1ba4b580dab6 Author: Lon Hohberger AuthorDate: Mon Mar 30 17:00:29 2009 -0400 Committer: Lon Hohberger 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 Signed-off-by: Fabio M. Di Nitto --- 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;