summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2023-11-17 23:28:39 +0200
committerMaxim Devaev <[email protected]>2023-11-17 23:31:18 +0200
commit71fe447335efca5357c5d5cb225eb52e096d01f0 (patch)
tree6dad37e28de88c4277d3f35f429da08c198eb468
parent2b7d5960caac715e9199516ea2431852a96ffd27 (diff)
disabled filter this_machine() in log viewer
-rw-r--r--kvmd/apps/kvmd/logreader.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/kvmd/apps/kvmd/logreader.py b/kvmd/apps/kvmd/logreader.py
index 34d1143a..5eb1ecec 100644
--- a/kvmd/apps/kvmd/logreader.py
+++ b/kvmd/apps/kvmd/logreader.py
@@ -34,7 +34,8 @@ class LogReader:
async def poll_log(self, seek: int, follow: bool) -> AsyncGenerator[dict, None]:
reader = systemd.journal.Reader()
reader.this_boot()
- reader.this_machine()
+ # XXX: Из-за смены ID машины в bootconfig это не работает при первой загрузке.
+ # reader.this_machine()
reader.log_level(systemd.journal.LOG_DEBUG)
services = set(