cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Guoqing Jiang <gqjiang@suse.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] How to enable daemon_debug for dlm_controld
Date: Thu, 28 Jun 2018 10:13:52 +0800	[thread overview]
Message-ID: <b69426ef-267e-a54d-2ee9-9d557bc72ffd@suse.com> (raw)
In-Reply-To: <20180627134939.GA5690@redhat.com>



On 06/27/2018 09:49 PM, David Teigland wrote:
> On Wed, Jun 27, 2018 at 04:07:18PM +0800, Guoqing Jiang wrote:
>> But by default, seems dlm_controld just run with "-s 0". And I tried to add
>> "daemon_debug=1" to /etc/dlm/dlm.conf,
>> then dlm resource can't start at all. Could you tell me how to enable this
>> option? Thanks in advance!
> That option doesn't work in dlm.conf, see
> https://pagure.io/dlm/c/9fe973004d8dbffc07bbecbdbb6c828bfb832137?branch=master
>
> What you want instead is:
> log_debug=1
> debug_logfile=1

Thanks for the help, I was misguided by the previous man page.

> Then look in /var/log/dlm_controld/dlm_controld.log

However, I can't find the file with the above change during split-brain
test, perhaps I still missed something ..., thanks.

linux-u121:~ # cat /etc/dlm/dlm.conf
log_debug=1
debug_logfile=1
linux-u121:~ # ls /var/log/dlm_controld/dlm_controld.log
ls: cannot access '/var/log/dlm_controld/dlm_controld.log': No such file 
or directory
linux-u121:~ # find / -name dlm_controld
/run/dlm_controld
/usr/sbin/dlm_controld

Regards,
Guoqing



      reply	other threads:[~2018-06-28  2:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-27  8:07 [Cluster-devel] How to enable daemon_debug for dlm_controld Guoqing Jiang
2018-06-27 13:49 ` David Teigland
2018-06-28  2:13   ` Guoqing Jiang [this message]

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=b69426ef-267e-a54d-2ee9-9d557bc72ffd@suse.com \
    --to=gqjiang@suse.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).