adjust logging a bit and add some comments

This commit is contained in:
gcarq
2018-06-09 00:58:24 +02:00
parent 6c1bb7983b
commit 83eb7a0a9d
3 changed files with 11 additions and 10 deletions

View File

@@ -25,8 +25,9 @@ class RPCManager(object):
def cleanup(self) -> None:
""" Stops all enabled rpc modules """
logger.info('Cleaning up rpc modules ...')
for mod in self.registered_modules:
logger.info('Cleaning up rpc.%s ...', mod.name)
logger.debug('Cleaning up rpc.%s ...', mod.name)
mod.cleanup()
self.registered_modules = []