fix(logging): harden file level configuration
Make persisted log filtering predictable across supported startup settings while rejecting configurations that could silently retain more data than intended. Keep the first WebUI login credential available without weakening normal log thresholds, clarify the operator-facing behavior, and strengthen regression coverage across isolated environments and explicit file-output disablement.
This commit is contained in:
6 files changed
+212
-181
No files matched your search
@@ -510,7 +510,7 @@ export function LogsPage() {
|
||||
<div>
|
||||
<div className="mb-2 flex flex-wrap items-center gap-x-1.5 gap-y-0.5">
|
||||
<span className="text-xs font-medium text-foreground">服务端日志级别</span>
|
||||
<span className="text-xs text-muted-foreground">· 仅影响控制台 / 实时流;文件落盘级别由环境变量决定,默认debug</span>
|
||||
<span className="text-xs text-muted-foreground">· 普通日志仅影响控制台 / 实时流;首次登录凭据始终可见;文件等级由环境变量决定,默认为 debug</span>
|
||||
</div>
|
||||
<div className="inline-flex flex-wrap gap-1 rounded-lg bg-muted/60 p-1">
|
||||
{LEVELS.map((lv) => {
|
||||
|
||||
Reference in new issue
Block a user