You've already forked mariadb-columnstore-engine
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:
@ -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)
|
||||
|
Reference in New Issue
Block a user