Log new database creation, bootstrap like a transaction.

This commit is contained in:
Leo Vasanko
2026-06-20 18:15:08 +00:00
parent 652d60b74b
commit 3e1a86aee3
4 changed files with 81 additions and 7 deletions
+2
View File
@@ -177,6 +177,8 @@ async def test_logfmt_class_injection(tmp_path, format_config, caplog):
@kanta.logfmt
class UserLogFmt(LogFmt):
def resolve(self, value: str, path: str) -> str | None:
if not isinstance(value, str):
return None
return self.current_state.get("users", {}).get(value, {}).get("name")
await kanta.open()