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

@ -103,6 +103,8 @@ using namespace compress;
#include "IDBLogger.h"
using namespace idbdatafile;
#include "mcsconfig.h"
typedef tr1::unordered_set<BRM::OID_t> USOID;
namespace primitiveprocessor
@ -454,7 +456,7 @@ void* thr_popper(ioManager* arg)
iomLogFileName << "C:/Calpont/log/trace/iom." << threadId;
#else
threadId = pthread_self();
iomLogFileName << "/var/log/mariadb/columnstore/trace/iom." << threadId;
iomLogFileName << MCSLOGDIR << "/trace/iom." << threadId;
#endif
lFile.open(iomLogFileName.str().c_str(), ios_base::app | ios_base::ate);
}
@ -1351,7 +1353,7 @@ ioManager::ioManager(FileBufferMgr& fbm,
#ifdef _MSC_VER
FDTraceFile().open("C:/Calpont/log/trace/fdcache", ios_base::ate | ios_base::app);
#else
FDTraceFile().open("/var/log/mariadb/columnstore/trace/fdcache", ios_base::ate | ios_base::app);
FDTraceFile().open(string(MCSLOGDIR) + "/trace/fdcache", ios_base::ate | ios_base::app);
#endif
}