summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MultiMC.cpp2
-rw-r--r--logic/minecraft/MinecraftVersionList.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/MultiMC.cpp b/MultiMC.cpp
index 073646ec..5b0e411a 100644
--- a/MultiMC.cpp
+++ b/MultiMC.cpp
@@ -339,7 +339,7 @@ void MultiMC::initLogger()
QsLogging::Logger &logger = QsLogging::Logger::instance();
logger.setLoggingLevel(QsLogging::TraceLevel);
m_fileDestination = QsLogging::DestinationFactory::MakeFileDestination(logBase.arg(0));
- m_debugDestination = QsLogging::DestinationFactory::MakeQDebugDestination();
+ m_debugDestination = QsLogging::DestinationFactory::MakeDebugOutputDestination();
logger.addDestination(m_fileDestination.get());
logger.addDestination(m_debugDestination.get());
// log all the things
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;
}