优化日志切分和保留策略

This commit is contained in:
yml
2026-05-28 12:32:13 +08:00
parent 26d40a2c13
commit e4c9873c8d
10 changed files with 99 additions and 22 deletions
+1
View File
@@ -31,6 +31,7 @@ export const ENV_OVERRIDES: readonly EnvOverride[] = [
integerEnv("PORT", ["server", "port"]),
stringEnv("DATA_ROOT", ["data", "root"], path.resolve),
stringEnv("LOG_LEVEL", ["logging", "level"]),
integerEnv("LOG_RETENTION_DAYS", ["logging", "retentionDays"]),
stringEnv("DATABASE_URL", ["database", "url"]),
booleanEnv("DATABASE_SSL", ["database", "ssl"]),
integerEnv("DATABASE_MAX_CONNECTIONS", ["database", "maxConnections"]),