Commit 6903975d authored by Bryan Berthou's avatar Bryan Berthou
Browse files

refs#16

In ElementaryUtils (trunk) :
- Restore write append mode for log file.
parent 40924ce9
...@@ -156,7 +156,8 @@ void LoggerManager::defineLevel(LoggerLevel loggerLevel) { ...@@ -156,7 +156,8 @@ void LoggerManager::defineLevel(LoggerLevel loggerLevel) {
} // mutex.unlock() } // mutex.unlock()
void LoggerManager::update() { void LoggerManager::update() {
bool fileOpened = FileUtils::open(m_fileOutputStream, m_outputFilePath); bool fileOpened = FileUtils::open(m_fileOutputStream, m_outputFilePath,
std::ios_base::out | std::ios_base::app);
if (fileOpened) { if (fileOpened) {
while (m_active) { while (m_active) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment