From 9169e70d93c79acce5ea726a8ac89d596243474e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 11 Feb 2017 20:07:11 +0300 Subject: Add logging about adding/removing virtual fs entries. --- src/utils/virtfs.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/utils/virtfs.cpp b/src/utils/virtfs.cpp index 7f4c7ab3b..e45ef22eb 100644 --- a/src/utils/virtfs.cpp +++ b/src/utils/virtfs.cpp @@ -140,6 +140,7 @@ namespace VirtFs bool addDirToSearchPath(const std::string &newDir, const Append append) { + logger->log("Add virtual directory: " + newDir); if (newDir.find(".zip") != std::string::npos) { reportAlways("Called addDirToSearchPath with zip archive"); @@ -151,6 +152,7 @@ namespace VirtFs bool removeDirFromSearchPath(const std::string &oldDir) { + logger->log("Remove virtual directory: " + oldDir); if (oldDir.find(".zip") != std::string::npos) { reportAlways("Called removeDirFromSearchPath with zip archive"); @@ -162,6 +164,7 @@ namespace VirtFs bool addZipToSearchPath(const std::string &newDir, const Append append) { + logger->log("Add virtual zip: " + newDir); if (newDir.find(".zip") == std::string::npos) { reportAlways("Called addZipToSearchPath without zip archive"); @@ -173,6 +176,7 @@ namespace VirtFs bool removeZipFromSearchPath(const std::string &oldDir) { + logger->log("Remove virtual zip: " + oldDir); if (oldDir.find(".zip") == std::string::npos) { reportAlways("Called removeZipFromSearchPath without zip archive"); -- cgit v1.2.3-60-g2f50