1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-07 03:22:57 +03:00

no error logging from checkLogFile, arent needed and issues unwanted error logs

This commit is contained in:
david hill
2016-10-24 14:11:42 +00:00
parent 4a28e908e6
commit 2727fc498d

View File

@@ -4644,9 +4644,7 @@ namespace oam
if (!file.is_open())
{
ostringstream os;
os << "checkLogStatus error while opening file " << fileName << " " << strerror(errno);
writeLog(os.str(), LOG_TYPE_ERROR );
return false;
}
string buf;
@@ -4659,14 +4657,9 @@ namespace oam
}
if (file.bad())
{
ostringstream os;
os << "checkLogStatus error while reading file " << fileName << " " << strerror(errno);
writeLog(os.str(), LOG_TYPE_ERROR );
return false;
}
file.close();
ostringstream os;
os << "checkLogStatus failed " << fileName << " expected \"" << phrase.c_str() << "\" found \"" << buf.c_str() << "\"";
writeLog(os.str(), LOG_TYPE_ERROR );
return false;
}