mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-03 03:03:24 -04:00
perf(test): reduce vitest logging overhead and media fixture cost
This commit is contained in:
@@ -67,7 +67,7 @@ describe("logger helpers", () => {
|
||||
|
||||
it("uses daily rolling default log file and prunes old ones", () => {
|
||||
resetLogger();
|
||||
setLoggerOverride({}); // force defaults regardless of user config
|
||||
setLoggerOverride({ level: "info" }); // force default file path with enabled file logging
|
||||
const today = localDateString(new Date());
|
||||
const todayPath = path.join(DEFAULT_LOG_DIR, `openclaw-${today}.log`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user