From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guoqing Jiang Date: Thu, 28 Jun 2018 10:13:52 +0800 Subject: [Cluster-devel] How to enable daemon_debug for dlm_controld In-Reply-To: <20180627134939.GA5690@redhat.com> References: <20180627134939.GA5690@redhat.com> Message-ID: List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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