1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-4483: Fix and consolidate log files and cpimport logging.

This commit is contained in:
benthompson15
2021-01-20 12:04:52 -06:00
parent ceae2118a2
commit afa88866bb
32 changed files with 172 additions and 287 deletions

View File

@ -41,6 +41,7 @@
#include "liboamcpp.h"
#include "configcpp.h"
#include "installdir.h"
#include "mcsconfig.h"
using namespace std;
using namespace oam;
@ -319,7 +320,7 @@ int main(int argc, char** argv)
{
dbrm.setSystemSuspended(true);
sleep(5);
string cmd = "save_brm > /var/log/mariadb/columnstore/save_brm.log1 2>&1";
string cmd = "save_brm > " + string(MCSLOGDIR) + "/save_brm.log1 2>&1";
int rtnCode = system(cmd.c_str());
if (rtnCode == 0)