diff --git a/main/logging.cpp b/main/logging.cpp index c017250..bbd8e8d 100644 --- a/main/logging.cpp +++ b/main/logging.cpp @@ -46,9 +46,9 @@ class LogSinkBackend { namespace { std::ofstream openLogFile() { // FIXME this is relative to bin, not root dir - std::filesystem::create_directories("../run"); - std::filesystem::create_directories("../run/logs"); - return std::ofstream("../run/logs/latest.log"); + std::filesystem::create_directories("run"); + std::filesystem::create_directories("run/logs"); + return std::ofstream("run/logs/latest.log"); } } // namespace