diff --git a/src/backend/game.cpp b/src/backend/game.cpp index 3616972d..d41e3286 100644 --- a/src/backend/game.cpp +++ b/src/backend/game.cpp @@ -675,6 +675,7 @@ namespace loot { unordered_map tempMap; std::vector groupPlugins; //First calculate the mean plugin size. Store it temporarily in a map to reduce filesystem lookups and file size recalculation. + BOOST_LOG_TRIVIAL(trace) << "Scanning for plugins in " << this->DataPath(); for (fs::directory_iterator it(this->DataPath()); it != fs::directory_iterator(); ++it) { if (fs::is_regular_file(it->status()) && this->IsValidPlugin(it->path().filename().string())) { uintmax_t fileSize = fs::file_size(it->path()); diff --git a/src/gui/handler.cpp b/src/gui/handler.cpp index 5ead8684..2dcbf9af 100644 --- a/src/gui/handler.cpp +++ b/src/gui/handler.cpp @@ -1011,6 +1011,7 @@ namespace loot { } void Handler::SendProgressUpdate(CefRefPtr frame, const std::string& message) { + BOOST_LOG_TRIVIAL(trace) << "Sending progress update: " << message; frame->ExecuteJavaScript("showProgress('" + message + "');", frame->GetURL(), 0); }