We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 242c391 commit 55a6f87Copy full SHA for 55a6f87
chatbot_core/chatbot_abc.py
@@ -22,6 +22,7 @@
22
import inspect
23
24
from abc import ABC, abstractmethod
25
+from os import environ
26
from queue import Queue
27
from typing import Optional
28
from ovos_config.config import Configuration
@@ -49,6 +50,8 @@ def log(self):
49
50
if not self.__log:
51
# Copy log to support multiple bots in thread with different names
52
log = init_log(log_name="chatbots")
53
+ log.info(f"Log created with level: {log.level}")
54
+ log.info(f"default_config={environ.get('OVOS_DEFAULT_CONFIG')}")
55
self.__log = log.create_logger(self._bot_id)
56
log.info(f"Initialized logger {self.__log.name} with level: "
57
f"{self.__log.level}")
0 commit comments