Disable most logging by default

This commit is contained in:
Jan Speller 2022-05-04 23:01:40 +02:00
parent fb703fbf96
commit d0f0792793
4 changed files with 5 additions and 3 deletions

View file

@ -31,6 +31,7 @@ class RouterManager:
def __init__(self):
"""!Create new router"""
self.config = None
self._routerDict = {}
self._startTime = int(time.time())
@ -40,6 +41,7 @@ class RouterManager:
@param config: instance of ConfigYaml class
@return True or False"""
self.config = config
self._routerDict = {} # all routers and instances of modules/plugins would be destroyed
routerDict_tmp = {}
logging.debug("build routers")

View file

@ -33,7 +33,7 @@ class=handlers.TimedRotatingFileHandler
interval=midnight
backupCount=7
formatter=complex
level=DEBUG
level=ERROR
args=('log/client.log',)
[handler_screen]

View file

@ -33,7 +33,7 @@ class=handlers.TimedRotatingFileHandler
interval=midnight
backupCount=7
formatter=complex
level=DEBUG
level=ERROR
args=('log/server.log',)
[handler_screen]

View file

@ -11,7 +11,7 @@ server:
port: 8080
name: BW3 Server # name of the BW3 Server instance
useBroadcast: no # serve server ip on broadcast request
log: true # enable log file
log: false # enable log file
alarmRouter:
- Router 1