certain confidence - no need to waste tokens on another assistant when it's a no brainer fix for Claude
This commit is contained in:
@@ -122,7 +122,7 @@ try:
|
||||
file_handler = RotatingFileHandler(
|
||||
log_dir / "mcp_server.log",
|
||||
maxBytes=20 * 1024 * 1024, # 20MB max file size
|
||||
backupCount=10, # Keep 10 rotated files (200MB total)
|
||||
backupCount=5, # Keep 10 rotated files (100MB total)
|
||||
encoding="utf-8",
|
||||
)
|
||||
file_handler.setLevel(getattr(logging, log_level, logging.INFO))
|
||||
@@ -133,8 +133,8 @@ try:
|
||||
mcp_logger = logging.getLogger("mcp_activity")
|
||||
mcp_file_handler = RotatingFileHandler(
|
||||
log_dir / "mcp_activity.log",
|
||||
maxBytes=20 * 1024 * 1024, # 20MB max file size
|
||||
backupCount=5, # Keep 5 rotated files (100MB total)
|
||||
maxBytes=10 * 1024 * 1024, # 20MB max file size
|
||||
backupCount=2, # Keep 5 rotated files (20MB total)
|
||||
encoding="utf-8",
|
||||
)
|
||||
mcp_file_handler.setLevel(logging.INFO)
|
||||
|
||||
Reference in New Issue
Block a user