From: Fabio M. Di Nitto <fdinitto@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Cluster Project branch, master, updated. cluster-2.99.05-66-g0dcc5e5
Date: Mon, 14 Jul 2008 09:57:37 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.64.0807140955370.27368@trider-g7> (raw)
In-Reply-To: <20080711171314.14780.qmail@sourceware.org>
On Fri, 11 Jul 2008, teigland at sourceware.org wrote:
> - Log -----------------------------------------------------------------
> commit 0dcc5e557008df4d51aef891ebfb998a34785f04
> Author: David Teigland <teigland@redhat.com>
> 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 <teigland@redhat.com>
>
> -----------------------------------------------------------------------
>
> 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 | \
isn't LOG_MODE_NOSUBSYS going to remove [FENCED] from the output?
How are we going to recognize our messages in syslog?
My understading was that NOSUBSYS should be used to print to stderr only
> + LOG_MODE_OUTPUT_FILE /* | LOG_MODE_NO_DEBUG_SYSLOG */
LOG_MODE_FILTER_DEBUG_FROM_SYSLOG <- after Steven/Chrissie review.
Fabio
--
I'm going to make him an offer he can't refuse.
next prev parent reply other threads:[~2008-07-14 7:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-11 17:13 [Cluster-devel] Cluster Project branch, master, updated. cluster-2.99.05-66-g0dcc5e5 teigland
2008-07-14 7:57 ` Fabio M. Di Nitto [this message]
2008-07-14 11:41 ` Fabio M. Di Nitto
2008-07-14 15:52 ` David Teigland
2008-07-14 17:45 ` Fabio M. Di Nitto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0807140955370.27368@trider-g7 \
--to=fdinitto@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).