1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-26 05:02:32 +03:00

MCOL-3842: logging cleanup

This commit is contained in:
benthompson15
2020-04-03 12:07:23 -05:00
parent 4fca8fe7ee
commit cc7191f75f
3 changed files with 11 additions and 65 deletions

View File

@@ -4117,8 +4117,6 @@ int ProcessMonitor::createDataDirs(std::string cloud)
MonitorLog log;
Oam oam;
log.writeLog(__LINE__, "createDataDirs called", LOG_TYPE_DEBUG);
if ( config.moduleType() == "um" &&
( cloud == "amazon-ec2" || cloud == "amazon-vpc") )
{
@@ -4278,8 +4276,6 @@ int ProcessMonitor::getDBRMdata(string *path)
Oam oam;
ByteStream msg;
log.writeLog(__LINE__, "getDBRMdata called", LOG_TYPE_DEBUG);
int returnStatus = API_FAILURE;
msg << (ByteStream::byte) GETDBRMDATA;
@@ -4964,8 +4960,6 @@ int ProcessMonitor::runMasterRep(std::string& masterLogFile, std::string& master
{
Oam oam;
log.writeLog(__LINE__, "runMasterRep function called", LOG_TYPE_DEBUG);
SystemModuleTypeConfig systemModuleTypeConfig;
try
@@ -5140,8 +5134,6 @@ int ProcessMonitor::runSlaveRep(std::string& masterLogFile, std::string& masterL
{
Oam oam;
log.writeLog(__LINE__, "runSlaveRep function called", LOG_TYPE_DEBUG);
// get master replicaion module IP Address
string PrimaryUMModuleName;
oam.getSystemConfig("PrimaryUMModuleName", PrimaryUMModuleName);
@@ -5224,8 +5216,6 @@ int ProcessMonitor::runDisableRep()
{
Oam oam;
log.writeLog(__LINE__, "runDisableRep function called", LOG_TYPE_DEBUG);
// mysql port number
string MySQLPort;
@@ -5279,8 +5269,6 @@ int ProcessMonitor::runMasterDist(std::string& password, std::string& slaveModul
{
Oam oam;
log.writeLog(__LINE__, "runMasterDist function called", LOG_TYPE_DEBUG);
SystemModuleTypeConfig systemModuleTypeConfig;
try
@@ -5405,8 +5393,6 @@ bool ProcessMonitor::amazonIPCheck()
MonitorLog log;
Oam oam;
log.writeLog(__LINE__, "amazonIPCheck function called", LOG_TYPE_DEBUG);
// delete description file so it will create a new one
string tmpLog = tmpLogDir + "/describeInstance.log";
unlink(tmpLog.c_str());
@@ -5700,8 +5686,6 @@ void ProcessMonitor::unmountExtraDBroots()
ModuleConfig moduleconfig;
Oam oam;
log.writeLog(__LINE__, "unmountExtraDBroots called ", LOG_TYPE_DEBUG);
string DBRootStorageType = "internal";
try
@@ -5797,8 +5781,6 @@ int ProcessMonitor::checkDataMount()
//check/update the pmMount files
log.writeLog(__LINE__, "checkDataMount called ", LOG_TYPE_DEBUG);
string DBRootStorageType = "internal";
vector <string> dbrootList;
@@ -6031,8 +6013,6 @@ void ProcessMonitor::calTotalUmMemory()
//check/update the pmMount files
log.writeLog(__LINE__, "calTotalUmMemory called ", LOG_TYPE_DEBUG);
try
{
sysinfo(&myinfo);