Commit 76c2d30a by Archer Committed by GitHub

remove logger (#6622)

parent e05ae8a3
......@@ -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 =====
......
......@@ -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)),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment