summaryrefslogtreecommitdiff
path: root/kvmd/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/__init__.py')
-rw-r--r--kvmd/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/kvmd/__init__.py b/kvmd/__init__.py
index 77c49ad0..93f9e2de 100644
--- a/kvmd/__init__.py
+++ b/kvmd/__init__.py
@@ -2,6 +2,7 @@ import asyncio
from .application import init
from .logging import get_logger
+from .logging import Log
from .hid import Hid
from .atx import Atx
@@ -22,6 +23,11 @@ def main() -> None:
with gpio.bcm():
loop = asyncio.get_event_loop()
+ log = Log(
+ services=list(config["log"]["services"]),
+ loop=loop,
+ )
+
hid = Hid(
reset=int(config["hid"]["pinout"]["reset"]),
device_path=str(config["hid"]["device"]),
@@ -60,6 +66,7 @@ def main() -> None:
)
Server(
+ log=log,
hid=hid,
atx=atx,
msd=msd,