public inbox for cluster-cvs@sourceware.org help / color / mirror / Atom feed
From: Christine Caulfield <chrissie@fedoraproject.org> To: cluster-cvs-relay@redhat.com Subject: cluster: STABLE3 - cman: Make cman_tool debug -d<x> more effective Date: Thu, 12 Feb 2009 11:54:00 -0000 [thread overview] Message-ID: <20090212115342.A434C1201DD@lists.fedorahosted.org> (raw) Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=3fa2aacdfc3eabba832649d1cda0310dc74a43fd Commit: 3fa2aacdfc3eabba832649d1cda0310dc74a43fd Parent: 922f336a2564d1035fd6728c804bc996d3c0b9df Author: Christine Caulfield <ccaulfie@redhat.com> AuthorDate: Thu Feb 12 11:53:02 2009 +0000 Committer: Christine Caulfield <ccaulfie@redhat.com> CommitterDate: Thu Feb 12 11:53:02 2009 +0000 cman: Make cman_tool debug -d<x> more effective It now switches on LOG_LEVEL_DEBUG in logsys too. Signed-off-by: Christine Caulfield <ccaulfie@redhat.com> --- cman/daemon/logging.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/cman/daemon/logging.c b/cman/daemon/logging.c index ad3359f..c18e40f 100644 --- a/cman/daemon/logging.c +++ b/cman/daemon/logging.c @@ -21,5 +21,9 @@ int subsys_mask = 0; void set_debuglog(int subsystems) { + if (subsystems) + logsys_config_subsys_set(CMAN_NAME, 0, LOG_LEVEL_DEBUG); + else + logsys_config_subsys_set(CMAN_NAME, 0, LOG_LEVEL_INFO); subsys_mask = subsystems; }
reply other threads:[~2009-02-12 11:54 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20090212115342.A434C1201DD@lists.fedorahosted.org \ --to=chrissie@fedoraproject.org \ --cc=cluster-cvs-relay@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: linkBe 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 read-only IMAP folder(s) and NNTP newsgroup(s).