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

Re: [Cluster-devel] [PATCH] rgmanager: Don't clear foreground log mode on reconfig



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 <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;


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