diff --git a/lib/base/process.cpp b/lib/base/process.cpp index 1df048e38..6476dda75 100644 --- a/lib/base/process.cpp +++ b/lib/base/process.cpp @@ -21,13 +21,17 @@ #include "base/process.h" #include "base/array.h" #include "base/objectlock.h" +#include "base/logger_fwd.h" #include +#include using namespace icinga; Process::Process(const std::vector& arguments, const Dictionary::Ptr& extraEnvironment) : m_Arguments(arguments), m_ExtraEnvironment(extraEnvironment), m_Timeout(600) -{ } +{ + Log(LogDebug, "base", "Running command '" + boost::algorithm::join(arguments, " ") + "'."); +} std::vector Process::SplitCommand(const Value& command) {