mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
add log formatting
This commit is contained in:
parent
efa73e1f3d
commit
39a97d4a89
3 changed files with 12 additions and 3 deletions
|
|
@ -13,7 +13,10 @@ from .api import ChatMessage, ChatCompletionRequest, ChatCompletionResponse
|
|||
|
||||
|
||||
# Set up logging
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
logging.basicConfig(
|
||||
level=logging.INFO,
|
||||
format="%(asctime)s - [CONTEXT_BUILDER] - %(levelname)s - %(message)s",
|
||||
)
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,10 @@ from .api import ChatMessage, ChatCompletionRequest, ChatCompletionResponse
|
|||
|
||||
|
||||
# Set up logging
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
logging.basicConfig(
|
||||
level=logging.INFO,
|
||||
format="%(asctime)s - [QUERY_REWRITER] - %(levelname)s - %(message)s",
|
||||
)
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,10 @@ from .api import (
|
|||
)
|
||||
|
||||
# Set up logging
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
logging.basicConfig(
|
||||
level=logging.INFO,
|
||||
format="%(asctime)s - [RESPONSE_GENERATOR] - %(levelname)s - %(message)s",
|
||||
)
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
# Configuration for archgw LLM gateway
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue