add MMGEN_DEBUG_DAEMON environment var
This commit is contained in:
parent
371e22887d
commit
46befcb79b
2 changed files with 3 additions and 0 deletions
|
|
@ -150,6 +150,7 @@ class Config(Lockable):
|
|||
|
||||
# debug
|
||||
debug = False
|
||||
debug_daemon = False
|
||||
debug_opts = False
|
||||
debug_rpc = False
|
||||
debug_addrlist = False
|
||||
|
|
@ -294,6 +295,7 @@ class Config(Lockable):
|
|||
'MMGEN_BOGUS_SEND',
|
||||
'MMGEN_BOGUS_UNSPENT_DATA',
|
||||
'MMGEN_DEBUG',
|
||||
'MMGEN_DEBUG_DAEMON',
|
||||
'MMGEN_DEBUG_OPTS',
|
||||
'MMGEN_DEBUG_RPC',
|
||||
'MMGEN_DEBUG_ADDRLIST',
|
||||
|
|
|
|||
|
|
@ -61,6 +61,7 @@ class Daemon(Lockable):
|
|||
|
||||
self.opt = ClassOpts(self,opts)
|
||||
self.flag = ClassFlags(self,flags)
|
||||
self.debug = self.debug or cfg.debug_daemon
|
||||
|
||||
def exec_cmd_thread(self,cmd):
|
||||
import threading
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue