From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14825 invoked by alias); 11 Jul 2008 17:13:15 -0000 Received: (qmail 14795 invoked by uid 9453); 11 Jul 2008 17:13:15 -0000 Date: Fri, 11 Jul 2008 17:13:00 -0000 Message-ID: <20080711171314.14780.qmail@sourceware.org> From: teigland@sourceware.org To: cluster-cvs@sources.redhat.com, cluster-devel@redhat.com Subject: Cluster Project branch, master, updated. cluster-2.99.05-66-g0dcc5e5 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 98c12372432e994a5c8310d16a6dbb9f9295043b X-Git-Newrev: 0dcc5e557008df4d51aef891ebfb998a34785f04 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: 2008-q3/txt/msg00044.txt.bz2 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project". http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=0dcc5e557008df4d51aef891ebfb998a34785f04 The branch, master has been updated via 0dcc5e557008df4d51aef891ebfb998a34785f04 (commit) from 98c12372432e994a5c8310d16a6dbb9f9295043b (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 0dcc5e557008df4d51aef891ebfb998a34785f04 Author: David Teigland Date: Fri Jul 11 12:04:26 2008 -0500 fenced: tune logsys settings put errors in fenced.log (in addition to syslog) by default keep debug out of syslog by default (commented out pending openais commit) Signed-off-by: David Teigland ----------------------------------------------------------------------- Summary of changes: fence/fenced/logging.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/fence/fenced/logging.c b/fence/fenced/logging.c index 485810d..1cfb03e 100644 --- a/fence/fenced/logging.c +++ b/fence/fenced/logging.c @@ -1,6 +1,12 @@ #include "fd.h" -#define DEFAULT_MODE LOG_MODE_OUTPUT_SYSLOG_THREADED +/* default: errors go to syslog (/var/log/messages) and fenced.log + logging/debug=on: errors continue going to syslog (/var/log/messages) + and fenced.log, debug messages are added to fenced.log. */ + +#define DEFAULT_MODE LOG_MODE_OUTPUT_SYSLOG_THREADED | \ + LOG_MODE_NOSUBSYS | \ + LOG_MODE_OUTPUT_FILE /* | LOG_MODE_NO_DEBUG_SYSLOG */ #define DEFAULT_FACILITY SYSLOGFACILITY /* cluster config setting */ #define DEFAULT_PRIORITY SYSLOGLEVEL /* cluster config setting */ #define DEFAULT_FILE LOGDIR "/fenced.log" hooks/post-receive -- Cluster Project