Skip to content

Commit

Permalink
Update LOG to self.log (#184)
Browse files Browse the repository at this point in the history
Reduce info log to debug

Co-authored-by: Daniel McKnight <daniel@neon.ai>
  • Loading branch information
NeonDaniel and NeonDaniel authored Dec 11, 2023
1 parent 3dcef02 commit 9d7e3f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chatbot_core/v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ class ChatBot(KlatApi, ChatBotABC):
def __init__(self, *args, **kwargs):
socket, domain, username, password, on_server, is_prompter = \
self.parse_init(*args, **kwargs)
LOG.info(f"Starting {username}")
ChatBotABC.__init__(self, username)
self.log.info(f"Starting {username}")
if not socket:
from ovos_config.config import Configuration
sio_config = Configuration().get("socket_io", {})
Expand Down
2 changes: 1 addition & 1 deletion chatbot_core/v2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def sync(self, vhost: str = None, exchange: str = None, queue: str = None, reque
:param request_data: data to publish in sync
"""
curr_time = int(time.time())
self.log.info(f'{curr_time} Emitting sync message from {self.nick}')
self.log.debug(f'{curr_time} Emitting sync message from {self.nick}')
self._on_connect()

def discuss_response(self, shout: str, cid: str = None):
Expand Down

0 comments on commit 9d7e3f4

Please sign in to comment.