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

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

View File

@@ -24,7 +24,11 @@ const logTransports: Transport[] = [new transports.Console()];
// Only add the Redis transport if we are not in CI
if (!(Boolean(process.env.CI) || Boolean(process.env.DISABLE_REDIS_LOGS))) {
logTransports.push(new RedisTransport());
logTransports.push(
new RedisTransport({
level: "debug",
}),
);
}
const logger = winston.createLogger({