system: fix log level setting in velia-system
Change-Id: Ic2bdd047138d817bad5b2e98710935fd72d27b68
diff --git a/src/main-system.cpp b/src/main-system.cpp
index a8f74ed..f725d8e 100644
--- a/src/main-system.cpp
+++ b/src/main-system.cpp
@@ -52,6 +52,7 @@
try {
spdlog::get("sysrepo")->set_level(parseLogLevel("Sysrepo library", args["--sysrepo-log-level"]));
+ spdlog::get("system")->set_level(parseLogLevel("System logging", args["--system-log-level"]));
auto srConn = std::make_shared<sysrepo::Connection>();
auto srSess = std::make_shared<sysrepo::Session>(srConn);