changeset 12:d20b437b2937

increase verbosity
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 28 Sep 2021 08:18:19 +0200
parents 87a647ac63b5
children 69ec3f5e73e4
files Sources/Plugin.cpp
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Sources/Plugin.cpp	Sat Sep 25 13:01:50 2021 +0200
+++ b/Sources/Plugin.cpp	Tue Sep 28 08:18:19 2021 +0200
@@ -213,7 +213,8 @@
       }
       catch (boost::filesystem::filesystem_error&)
       {
-        LOG(INFO) << "Indexer plugin cannot read directory: " << d.string();
+        LOG(WARNING) << "Indexer plugin cannot read directory: " << d.string();
+        continue;
       }
 
       const boost::filesystem::directory_iterator end;
@@ -490,6 +491,12 @@
                                           "Missing configuration option for Indexer plugin: " + std::string(FOLDERS));
         }
 
+        for (std::list<std::string>::const_iterator it = folders_.begin();
+             it != folders_.end(); ++it)
+        {
+          LOG(WARNING) << "The Indexer plugin will monitor the content of folder: " << *it;
+        }
+
         std::string path;
         if (!indexer.LookupStringValue(path, DATABASE))
         {