diff --git a/src/backend/network.cpp b/src/backend/network.cpp index 089d61a7..39ded2a0 100644 --- a/src/backend/network.cpp +++ b/src/backend/network.cpp @@ -199,6 +199,7 @@ namespace loot { // Now try to access the repository if it exists, or clone one if it doesn't. git.ui_message = "An error occurred while trying to access the local masterlist repository."; + BOOST_LOG_TRIVIAL(trace) << "Attempting to open the Git repository at: " << repo_path; if (!isRepository(repo_path)) { // Clone the remote repository. BOOST_LOG_TRIVIAL(info) << "Repository doesn't exist, cloning the remote repository."; diff --git a/src/gui/main.cpp b/src/gui/main.cpp index 509f1084..0b5afac7 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -976,17 +976,21 @@ void Launcher::OnSortPlugins(wxCommandEvent& event) { //Need to determine if any new edits have been made. bool haveNewEdits = false; - if (newUserlist.size() != ulist_plugins.size()) + if (newUserlist.size() != ulist_plugins.size()) { + BOOST_LOG_TRIVIAL(info) << "Metadata edited for some plugin, new and old userlists differ in size."; haveNewEdits = true; + } else { for (const auto& newEdit : newUserlist) { const auto it = std::find(ulist_plugins.begin(), ulist_plugins.end(), newEdit); if (it == ulist_plugins.end()) { + BOOST_LOG_TRIVIAL(info) << "Metadata added for plugin: " << it->Name(); haveNewEdits = true; break; } if (!it->DiffMetadata(newEdit).HasNameOnly()) { + BOOST_LOG_TRIVIAL(info) << "Metadata edited for plugin: " << it->Name(); haveNewEdits = true; break; }