Skip to content

Commit

Permalink
init log to reduce debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Nov 30, 2023
1 parent d4958f5 commit f52450a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chatbot_core/utils/bot_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,9 @@ def run_mq_bot(chatbot_name: str, vhost: str = '/chatbots',
@param init_kwargs: extra kwargs to pass to chatbot `__init__` method
@returns: Started ChatBotV2 instance
"""
from neon_utils.log_utils import LOG, init_log
init_log({"level_overrides": {"error": ['pika'],
"warning": ["filelock"]}})
os.environ['CHATBOT_VERSION'] = 'v2'
run_kwargs = run_kwargs or dict()
init_kwargs = init_kwargs or dict()
Expand Down

0 comments on commit f52450a

Please sign in to comment.