You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-08 14:22:09 +03:00
no error logging from checkLogFile, arent needed and issues unwanted error logs
This commit is contained in:
@@ -4644,9 +4644,7 @@ namespace oam
|
|||||||
|
|
||||||
if (!file.is_open())
|
if (!file.is_open())
|
||||||
{
|
{
|
||||||
ostringstream os;
|
return false;
|
||||||
os << "checkLogStatus error while opening file " << fileName << " " << strerror(errno);
|
|
||||||
writeLog(os.str(), LOG_TYPE_ERROR );
|
|
||||||
}
|
}
|
||||||
string buf;
|
string buf;
|
||||||
|
|
||||||
@@ -4659,14 +4657,9 @@ namespace oam
|
|||||||
}
|
}
|
||||||
if (file.bad())
|
if (file.bad())
|
||||||
{
|
{
|
||||||
ostringstream os;
|
return false;
|
||||||
os << "checkLogStatus error while reading file " << fileName << " " << strerror(errno);
|
|
||||||
writeLog(os.str(), LOG_TYPE_ERROR );
|
|
||||||
}
|
}
|
||||||
file.close();
|
file.close();
|
||||||
ostringstream os;
|
|
||||||
os << "checkLogStatus failed " << fileName << " expected \"" << phrase.c_str() << "\" found \"" << buf.c_str() << "\"";
|
|
||||||
writeLog(os.str(), LOG_TYPE_ERROR );
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user