Raise server log level.

This commit is contained in:
Luis Ángel San Martín 2016-04-19 22:23:15 +02:00
parent 6a06217f0a
commit cd2ab92ee2

View File

@ -37,7 +37,7 @@ void FileLogger::refreshSettings() {
maxBackups=settings->value("maxBackups",1).toInt();
msgFormat=settings->value("msgFormat","{timestamp} {type} {msg}").toString();
timestampFormat=settings->value("timestampFormat","yyyy-MM-dd hh:mm:ss.zzz").toString();
minLevel=static_cast<QtMsgType>(settings->value("minLevel",QtWarningMsg).toInt());
minLevel=static_cast<QtMsgType>(settings->value("minLevel",QtCriticalMsg).toInt());
bufferSize=settings->value("bufferSize",0).toInt();
// Create new file if the filename has been changed