mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
meta, refactoring
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user