diff --git a/src/blackcore/context/contextnetworkimpl.cpp b/src/blackcore/context/contextnetworkimpl.cpp index 78058dd08..8f7a5c1d7 100644 --- a/src/blackcore/context/contextnetworkimpl.cpp +++ b/src/blackcore/context/contextnetworkimpl.cpp @@ -679,7 +679,7 @@ namespace BlackCore } } - void CContextNetwork::updateMetars(const BlackMisc::Weather::CMetarList &metars) + void CContextNetwork::updateMetars(const CMetarList &metars) { if (this->isDebugEnabled()) { CLogMessage(this, CLogCategory::contextSlot()).debug() << Q_FUNC_INFO; } CLogMessage(this).info(u"%1 METARs updated") << metars.size(); diff --git a/src/blackcore/vatsim/vatsimmetarreader.cpp b/src/blackcore/vatsim/vatsimmetarreader.cpp index f639e86f6..45eb3ea4f 100644 --- a/src/blackcore/vatsim/vatsimmetarreader.cpp +++ b/src/blackcore/vatsim/vatsimmetarreader.cpp @@ -140,8 +140,7 @@ namespace BlackCore else { invalidLines++; } } - static const QString ms("METAR statistic: %1 Metars (invalid %2)"); - CLogMessage(this).debug() << ms.arg(metars.size()).arg(invalidLines); + CLogMessage(this).info(u"METARs: %1 Metars (invalid %2) from '%3'" )<< metars.size() << invalidLines << metarUrl; { QWriteLocker l(&m_lock); m_metars = metars;