LR v0.4.13-dev: added autobahn log level management.
Change-Id: Ica0d13e75b116ad5bd75699a77af3cd9352afa06
This commit is contained in:
parent
8b8aff48ad
commit
6efea15d25
|
@ -1,17 +1,19 @@
|
|||
[DEFAULT]
|
||||
lightningrod_home = /var/lib/iotronic
|
||||
skip_cert_verify = True
|
||||
|
||||
debug = True
|
||||
log_file = /var/log/iotronic/lightning-rod.log
|
||||
log_rotation_type = size
|
||||
max_logfile_size_mb = 5
|
||||
max_logfile_count = 3
|
||||
|
||||
connection_timer = 30
|
||||
alive_timer = 600
|
||||
rpc_alive_timer = 10
|
||||
connection_failure_timer = 300
|
||||
|
||||
log_rotation_type = size
|
||||
max_logfile_size_mb = 5
|
||||
max_logfile_count = 3
|
||||
|
||||
|
||||
|
||||
[services]
|
||||
|
|
|
@ -102,7 +102,13 @@ zombie_alert = True
|
|||
global loop
|
||||
loop = None
|
||||
component = None
|
||||
txaio.start_logging(level="info")
|
||||
|
||||
# Autobahn log level
|
||||
if CONF.debug:
|
||||
txaio.start_logging(level="debug")
|
||||
else:
|
||||
txaio.start_logging(level="info")
|
||||
|
||||
RUNNER = None
|
||||
connected = False
|
||||
|
||||
|
|
Loading…
Reference in New Issue