diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/Utilities/StartProcess.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/Utilities/StartProcess.cpp b/src/common/Utilities/StartProcess.cpp index c47c02bbe87..29feeaa2714 100644 --- a/src/common/Utilities/StartProcess.cpp +++ b/src/common/Utilities/StartProcess.cpp @@ -78,7 +78,7 @@ static int CreateChildProcess(T waiter, std::string const& executable,      if (!secure)      { -        TC_LOG_TRACE(logger.c_str(), "Starting process \"%s\" with arguments: \"%s\".", +        TC_LOG_TRACE(logger, "Starting process \"%s\" with arguments: \"%s\".",                  executable.c_str(), boost::algorithm::join(args, " ").c_str());      } @@ -111,12 +111,12 @@ static int CreateChildProcess(T waiter, std::string const& executable,      auto outInfo = MakeTCLogSink([&](std::string msg)      { -        TC_LOG_INFO(logger.c_str(), "%s", msg.c_str()); +        TC_LOG_INFO(logger, "%s", msg.c_str());      });      auto outError = MakeTCLogSink([&](std::string msg)      { -        TC_LOG_ERROR(logger.c_str(), "%s", msg.c_str()); +        TC_LOG_ERROR(logger, "%s", msg.c_str());      });      copy(outFd, outInfo); @@ -128,7 +128,7 @@ static int CreateChildProcess(T waiter, std::string const& executable,      if (!secure)      { -        TC_LOG_TRACE(logger.c_str(), ">> Process \"%s\" finished with return value %i.", +        TC_LOG_TRACE(logger, ">> Process \"%s\" finished with return value %i.",                  executable.c_str(), result);      }  | 
