1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-27 21:01:50 +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

@ -36,12 +36,14 @@
#include "tracer.h"
#undef TRACER_DLLEXPORT
#include "mcsconfig.h"
using namespace std;
namespace BRM
{
#ifdef BRM_INFO
std::ofstream brmlog("/var/log/mariadb/columnstore/brm.log", std::ios::app);
std::ofstream brmlog(string(MCSLOGDIR) + "/brm.log", std::ios::app);
Tracer::Tracer(const std::string& file, int line, const std::string& msg, bool debug, bool writeNow): fFileName(file), fLine(line), fMsg(msg), fDebug(debug), fpid(getpid())
{