PLINT-575 set galaxy package logging level to INFO

This commit is contained in:
Mieszko Banczerowski
2021-04-20 11:45:48 +02:00
parent f0d65a72ff
commit aba9b0ed6b
3 changed files with 8 additions and 3 deletions

View File

@@ -1 +1,6 @@
__path__: str = __import__('pkgutil').extend_path(__path__, __name__) # type: ignore
import logging
logging.getLogger(__name__).setLevel(logging.INFO)
__path__: str = __import__('pkgutil').extend_path(__path__, __name__) # type: ignore

View File

@@ -306,7 +306,7 @@ class Connection():
if sensitive:
logger.debug("Sending %d bytes of data", len(data))
else:
logging.debug("Sending data: %s", line)
logger.debug("Sending data: %s", line)
self._writer.write(data)
except TypeError as error:
logger.error(str(error))

View File

@@ -292,7 +292,7 @@ class Plugin:
await self._external_task_manager.wait()
await self._internal_task_manager.wait()
await self._connection.wait_closed()
logger.debug("Plugin closed")
logger.info("Plugin closed")
def create_task(self, coro, description):
"""Wrapper around asyncio.create_task - takes care of canceling tasks on shutdown"""