Some more logging fixes in linspectord.py.

This commit is contained in:
Johannes Findeisen 2022-10-06 05:38:34 +02:00
commit 220079e64b
2 changed files with 13 additions and 15 deletions

View file

@ -37,7 +37,7 @@ logger = logging.getLogger('linspector')
# i currently only increase the 3rd number because the goal is that 0.20.* will become the first
# stable version.
__version__ = '0.19.35.dev1'
__version__ = '0.19.36.dev1'
__author__ = 'Johannes Findeisen <you@hanez.org>'
@ -166,7 +166,7 @@ def main():
if args.daemon:
try:
from linspector.core.linspectord import Linspectord
linspectord = Linspectord(configuration, environment, linspector)
linspectord = Linspectord(configuration, environment, linspector, log)
# do handling of restart, start and stop commands but for now "start" is enough... ;)
if args.kill:
log('info', '[linspector] stopping daemon.')