feat(logs): add log level selection to tools ui (#3565)

This commit is contained in:
Meier Lukas authored and GitHub committed 2025-07-17 10:43:13 +02:00
1 parent c00110e426
commit c4e5c3002b
12 files changed
+150 -31

No files matched your search

+3 -1
View File
@@ -2,9 +2,11 @@ import { z } from "zod";
import { createEnv } from "@homarr/env";
import { logLevels } from "./constants";
export const env = createEnv({
server: {
LOG_LEVEL: z.enum(["debug", "info", "warn", "error"]).default("info"),
LOG_LEVEL: z.enum(logLevels).default("info"),
},
experimental__runtimeEnv: process.env,
});