forked from shanevcantwell/langgraph-agentic-scaffold
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlog_config.yaml
More file actions
30 lines (26 loc) · 744 Bytes
/
log_config.yaml
File metadata and controls
30 lines (26 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# log_config.yaml
version: 1
disable_existing_loggers: false
formatters:
default:
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
handlers:
file:
class: logging.handlers.RotatingFileHandler
formatter: default
filename: logs/agentic_server.log
maxBytes: 10485760 # 10MB
backupCount: 5
encoding: utf8
# Configure the root logger. This file is now the single source of truth
# for the application's log level. Set to DEBUG for development.
# Valid levels: DEBUG, INFO, WARNING, ERROR, CRITICAL
root:
level: DEBUG
handlers: [file]
# Keep Uvicorn's own logs less verbose unless needed for debugging the server itself.
loggers:
uvicorn.error:
level: INFO
uvicorn.access:
level: INFO