Revert "Merge pull request #648 from xfxian/logrotate"

This reverts commit 9932394840, reversing
changes made to cfc313e5b9.
This commit is contained in:
Jonathan Naylor
2020-10-30 13:34:13 +00:00
parent 9932394840
commit 61afb194c5
8 changed files with 7 additions and 28 deletions

View File

@@ -82,7 +82,6 @@ m_logDisplayLevel(0U),
m_logFileLevel(0U),
m_logFilePath(),
m_logFileRoot(),
m_logTimestampLogs(1U),
m_cwIdEnabled(false),
m_cwIdTime(10U),
m_cwIdCallsign(),
@@ -454,8 +453,6 @@ bool CConf::read()
m_logFileLevel = (unsigned int)::atoi(value);
else if (::strcmp(key, "DisplayLevel") == 0)
m_logDisplayLevel = (unsigned int)::atoi(value);
else if (::strcmp(key, "TimestampLogs") == 0)
m_logTimestampLogs = (unsigned int)::atoi(value);
} else if (section == SECTION_CWID) {
if (::strcmp(key, "Enable") == 0)
m_cwIdEnabled = ::atoi(value) == 1;
@@ -1077,11 +1074,6 @@ std::string CConf::getLogFileRoot() const
return m_logFileRoot;
}
unsigned int CConf::getLogTimestampLogs() const
{
return m_logTimestampLogs;
}
bool CConf::getCWIdEnabled() const
{
return m_cwIdEnabled;