summaryrefslogtreecommitdiff
path: root/kvmd/logging.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-11-16 06:54:27 +0300
committerDevaev Maxim <[email protected]>2018-11-16 06:54:27 +0300
commit17c6b9e31f9910c30ac660476e7bed8103f3935e (patch)
treea944ac26154930acb31a7d2e725181aaf744dc09 /kvmd/logging.py
parent4294eed14e94fc63a1eb1fb664de0690b1a16bf5 (diff)
meta, refactoring
Diffstat (limited to 'kvmd/logging.py')
-rw-r--r--kvmd/logging.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/logging.py b/kvmd/logging.py
index 0efb9cb4..11a8dcf1 100644
--- a/kvmd/logging.py
+++ b/kvmd/logging.py
@@ -33,7 +33,7 @@ class Log:
self.__services = services
self.__loop = loop
- async def log(self, seek: int, follow: bool) -> AsyncGenerator[Dict, None]:
+ async def poll_log(self, seek: int, follow: bool) -> AsyncGenerator[Dict, None]:
reader = systemd.journal.Reader()
reader.this_boot()
reader.this_machine()