fix: scope log filenames by service under root logs dir

This commit is contained in:
qzl
2026-02-25 10:39:47 +08:00
parent d16e66807d
commit a6b5d087f8
4 changed files with 37 additions and 17 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ def test_e2e_error_logging(tmp_path: Path) -> None:
server.should_exit = True
thread.join(timeout=5)
error_entries = _read_json_lines(Path(tmp_path) / "errors" / "error.log")
error_entries = _read_json_lines(Path(tmp_path) / "errors" / "app.error.log")
entry = next(
item for item in error_entries if item.get("message") == "Unhandled exception"
)