From 72aff1132bb4bf73dd3434704f6018748d2135e4 2017-06-30 12:09:28 From: mperrinel Date: 2017-06-30 12:09:28 Subject: [PATCH] Modify cache log lvl from info to warn --- diff --git a/core/src/Variable/VariableCacheController.cpp b/core/src/Variable/VariableCacheController.cpp index 8c22487..b5cbd3b 100644 --- a/core/src/Variable/VariableCacheController.cpp +++ b/core/src/Variable/VariableCacheController.cpp @@ -55,7 +55,7 @@ void VariableCacheController::addDateTime(std::shared_ptr variable, impl->m_VariableToSqpDateTimeListMap.at(variable), 0); } catch (const std::out_of_range &e) { - qCInfo(LOG_VariableCacheController()) << e.what(); + qCWarning(LOG_VariableCacheController()) << e.what(); } } } @@ -77,7 +77,7 @@ VariableCacheController::provideNotInCacheDateTimeList(std::shared_ptr notInCache, 0, dateTime.m_TStart); } catch (const std::out_of_range &e) { - qCInfo(LOG_VariableCacheController()) << e.what(); + qCWarning(LOG_VariableCacheController()) << e.what(); } return notInCache; @@ -90,7 +90,7 @@ VariableCacheController::dateCacheList(std::shared_ptr variable) const return impl->m_VariableToSqpDateTimeListMap.at(variable); } catch (const std::out_of_range &e) { - qCInfo(LOG_VariableCacheController()) << e.what(); + qCWarning(LOG_VariableCacheController()) << e.what(); return QVector{}; } }