remove logger (#6622)

This commit is contained in:
Archer
2026-03-24 10:42:24 +08:00
committed by GitHub
parent e05ae8a3ec
commit 76c2d30a17
2 changed files with 0 additions and 9 deletions
-1
View File
@@ -211,7 +211,6 @@ ${{vec.db}}
- fastgpt
restart: always
environment:
<<: [*x-log-config]
LOG_OTEL_SERVICE_NAME: fastgpt-code-sandbox
SANDBOX_TOKEN: *x-code-sandbox-token
# ===== Resource Limits =====
-8
View File
@@ -27,14 +27,6 @@ const envSchema = z.object({
'SANDBOX_TOKEN contains invalid characters. Only ASCII printable characters (no spaces) are allowed.'
}),
// Logger
LOG_ENABLE_CONSOLE: z.boolean().default(true),
LOG_CONSOLE_LEVEL: LogLevelSchema.default('debug'),
LOG_ENABLE_OTEL: z.boolean().default(false),
LOG_OTEL_LEVEL: LogLevelSchema.default('info'),
LOG_OTEL_SERVICE_NAME: z.string().default('fastgpt-code-sandbox'),
LOG_OTEL_URL: z.url().optional(),
// ===== 进程池 =====
/** 进程池大小(预热 worker 数量) */
SANDBOX_POOL_SIZE: int(20).pipe(z.number().min(1).max(100)),