From 3d157e2dfaefa739994e33effdbcb4a8c03158b7 Mon Sep 17 00:00:00 2001 From: Kye Date: Fri, 14 Jul 2023 21:53:59 -0400 Subject: [PATCH] logging level debug Former-commit-id: 5fe653825b0e77c7c8011a0894ec2137cb203ced --- swarms/agents/boss/BossNode.py | 2 +- swarms/agents/workers/WorkerNode.py | 2 +- swarms/swarms.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/swarms/agents/boss/BossNode.py b/swarms/agents/boss/BossNode.py index a9a8a844..3ec040f0 100644 --- a/swarms/agents/boss/BossNode.py +++ b/swarms/agents/boss/BossNode.py @@ -2,7 +2,7 @@ from swarms.tools.agent_tools import * from pydantic import ValidationError import logging -logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s') +logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s') # ---------- Boss Node ---------- class BossNode: diff --git a/swarms/agents/workers/WorkerNode.py b/swarms/agents/workers/WorkerNode.py index f02199f3..6efb65d7 100644 --- a/swarms/agents/workers/WorkerNode.py +++ b/swarms/agents/workers/WorkerNode.py @@ -11,7 +11,7 @@ from langchain.memory.chat_message_histories import FileChatMessageHistory import logging from pydantic import BaseModel, Extra -logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s') +logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s') class WorkerNode: diff --git a/swarms/swarms.py b/swarms/swarms.py index bec38de5..f0be8a51 100644 --- a/swarms/swarms.py +++ b/swarms/swarms.py @@ -6,7 +6,7 @@ from swarms.agents.workers.WorkerNode import WorkerNode, worker_node from swarms.agents.boss.BossNode import BossNode from swarms.agents.workers.WorkerUltraNode import WorkerUltra -logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s') +logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s') class Swarms: def __init__(self, openai_api_key=""):