Mercurial > hg > orthanc-wsi
diff Framework/Orthanc/Core/Logging.cpp @ 43:9621fd6f17c9
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 09 Nov 2016 17:34:20 +0100 |
parents | 533cbc4d520c |
children |
line wrap: on
line diff
--- a/Framework/Orthanc/Core/Logging.cpp Wed Nov 09 16:03:52 2016 +0100 +++ b/Framework/Orthanc/Core/Logging.cpp Wed Nov 09 17:34:20 2016 +0100 @@ -83,6 +83,7 @@ #include "OrthancException.h" #include "Enumerations.h" #include "Toolbox.h" +#include "SystemToolbox.h" #include <fstream> #include <boost/filesystem.hpp> @@ -150,7 +151,7 @@ boost::posix_time::ptime now = boost::posix_time::second_clock::local_time(); boost::filesystem::path root(directory); - boost::filesystem::path exe(Toolbox::GetPathToExecutable()); + boost::filesystem::path exe(SystemToolbox::GetPathToExecutable()); if (!boost::filesystem::exists(root) || !boost::filesystem::is_directory(root)) @@ -166,7 +167,7 @@ now.time_of_day().hours(), now.time_of_day().minutes(), now.time_of_day().seconds(), - Toolbox::GetProcessId()); + SystemToolbox::GetProcessId()); std::string programName = exe.filename().replace_extension("").string();