Fix: Logging path was incorrect
This commit is contained in:
1 parent
960149b9c5
commit
0593ae0320
2 files changed
+3
-2
No files matched your search
@@ -8,7 +8,7 @@
|
||||
namespace bts::md {
|
||||
|
||||
struct Mdp3DataDirectory {
|
||||
boost::filesystem::path log_dir() const { return root.log_dir() / "onixs"; }
|
||||
boost::filesystem::path log_dir() const { return root.log_dir() / "onix"; }
|
||||
|
||||
boost::filesystem::path data_dir() const { return root.root() / "cme_mdp3"; }
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "spark_data_directory.h"
|
||||
#include "lib/config/config.h"
|
||||
#include "lib/config/protos/system_config.pb.h"
|
||||
#include "lib/os/os.h"
|
||||
|
||||
#include <boost/filesystem/path.hpp>
|
||||
#include <fmt/format.h>
|
||||
@@ -16,7 +17,7 @@ SparkDataDirectory::SparkDataDirectory(const std::string &root) : root_(root) {}
|
||||
boost::filesystem::path SparkDataDirectory::root() const { return root_; }
|
||||
|
||||
boost::filesystem::path SparkDataDirectory::log_dir() const {
|
||||
return root_ / "logging";
|
||||
return root_ / fmt::format("logging.{}/", os::get_application_name());
|
||||
}
|
||||
|
||||
boost::filesystem::path SparkDataDirectory::log_file() const {
|
||||
|
||||
Reference in new issue
Block a user