diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-05-12 23:27:50 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-06-09 01:38:31 +0200 |
commit | f3900f2966e8c211fee51ece156da054df2d47c7 (patch) | |
tree | 8c47446deabc63b2448339b3843c94dcfbc2c368 /logic/minecraft/MinecraftVersionList.cpp | |
parent | db8b47e7f6b877c07192feca2a2f5ba57b9a1ca0 (diff) | |
download | MultiMC-f3900f2966e8c211fee51ece156da054df2d47c7.tar MultiMC-f3900f2966e8c211fee51ece156da054df2d47c7.tar.gz MultiMC-f3900f2966e8c211fee51ece156da054df2d47c7.tar.lz MultiMC-f3900f2966e8c211fee51ece156da054df2d47c7.tar.xz MultiMC-f3900f2966e8c211fee51ece156da054df2d47c7.zip |
Reduce startup logging verbosity
Diffstat (limited to 'logic/minecraft/MinecraftVersionList.cpp')
-rw-r--r-- | logic/minecraft/MinecraftVersionList.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/minecraft/MinecraftVersionList.cpp b/logic/minecraft/MinecraftVersionList.cpp index 8d7c18d5..8c30e38d 100644 --- a/logic/minecraft/MinecraftVersionList.cpp +++ b/logic/minecraft/MinecraftVersionList.cpp @@ -107,6 +107,7 @@ void MinecraftVersionList::loadCachedList() void MinecraftVersionList::loadBuiltinList() { + QLOG_INFO() << "Loading builtin version list."; // grab the version list data from internal resources. QResource versionList(":/versions/minecraft.json"); QFile filez(versionList.absoluteFilePath()); @@ -173,6 +174,7 @@ void MinecraftVersionList::loadBuiltinList() void MinecraftVersionList::loadMojangList(QByteArray data, VersionSource source) { + QLOG_INFO() << "Loading" << ((source == Remote) ? "remote" : "local") << "version list."; QJsonParseError jsonError; QJsonDocument jsonDoc = QJsonDocument::fromJson(data, &jsonError); @@ -182,7 +184,6 @@ void MinecraftVersionList::loadMojangList(QByteArray data, VersionSource source) tr("Error parsing version list JSON: %1").arg(jsonError.errorString())); } - QLOG_INFO() << ((source == Remote) ? "Remote version list: " : "Local version list:") << data; if (!jsonDoc.isObject()) { throw ListLoadError(tr("Error parsing version list JSON: jsonDoc is not an object")); @@ -257,7 +258,6 @@ void MinecraftVersionList::loadMojangList(QByteArray data, VersionSource source) if (mcVersion->m_releaseTime < g_VersionFilterData.legacyCutoffDate) { - QLOG_ERROR() << "Ignoring Mojang version: " << versionID; continue; } |