From 667a62c8744c9bed6b20746c73d9e2d7d5e61f97 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Mon, 21 Jan 2019 10:34:45 +0100 Subject: [PATCH] api: add missing logger --- lib/api/actions/restart.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/api/actions/restart.cpp b/lib/api/actions/restart.cpp index 07731bc97..815f889bb 100644 --- a/lib/api/actions/restart.cpp +++ b/lib/api/actions/restart.cpp @@ -45,6 +45,8 @@ protected: const char *argv[] = { "villas-node", cfg, nullptr }; + Logger logger = logging.get("api"); + logger->info("Restart instance: config={}", cfg); ret = execvp("/proc/self/exe", (char **) argv);