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:
@ -45,6 +45,7 @@ typedef int pthread_t;
|
||||
#include "errorcodes.h"
|
||||
#include "calpontsystemcatalog.h"
|
||||
#include "blockcacheclient.h"
|
||||
#include "mcsconfig.h"
|
||||
|
||||
using namespace messageqcpp;
|
||||
using namespace std;
|
||||
@ -256,7 +257,7 @@ int BPPSeeder::operator()()
|
||||
#ifdef _MSC_VER
|
||||
LogFileName << "C:/Calpont/log/trace/pt." << tid;
|
||||
#else
|
||||
LogFileName << "/var/log/mariadb/columnstore/trace/pt." << tid;
|
||||
LogFileName << MCSLOGDIR << "/trace/pt." << tid;
|
||||
#endif
|
||||
spof.reset(new PTLogs_t(gThdCnt, LogFileName.str().c_str()));
|
||||
gThdCnt++;
|
||||
|
@ -331,16 +331,12 @@ void* waitForSIGUSR1(void* p)
|
||||
|
||||
if (rec_sig == SIGUSR1)
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
ofstream out("C:/Calpont/log/trace/pplru.dat");
|
||||
#else
|
||||
ofstream out("/var/log/mariadb/columnstore/trace/pplru.dat");
|
||||
#endif
|
||||
ostringstream out;
|
||||
|
||||
for (int i = 0; i < cacheCount; i++)
|
||||
{
|
||||
BRPp[i]->formatLRUList(out);
|
||||
out << "###" << endl;
|
||||
cout << out.str() << "###" << endl;
|
||||
}
|
||||
}
|
||||
else if (rec_sig == SIGUSR2)
|
||||
|
Reference in New Issue
Block a user