fs-watcher: Add fs-watcher delay test
Change-Id: I2a367b9695a5343426f3628c67a98c927cb0d38f
diff --git a/fs-watcher/fs-watcher.cc b/fs-watcher/fs-watcher.cc
index 747bd30..06e849f 100644
--- a/fs-watcher/fs-watcher.cc
+++ b/fs-watcher/fs-watcher.cc
@@ -75,7 +75,7 @@
void
FsWatcher::DidDirectoryChanged (QString dirPath)
{
- _LOG_DEBUG ("Triggered DirPath: " << dirPath.toStdString ());
+ _LOG_DEBUG ("Triggered DirPath(DidDirectoryChanged): " << dirPath.toStdString ());
filesystem::path absPathTriggeredDir (dirPath.toStdString ());
if (!filesystem::exists (filesystem::path (absPathTriggeredDir)))
@@ -145,7 +145,7 @@
void
FsWatcher::ScanDirectory_NotifyUpdates_Execute (QString dirPath)
{
- _LOG_TRACE (" >> ScanDirectory_NotifyUpdates_Execute");
+ _LOG_TRACE (" >> ScanDirectory_NotifyUpdates_Execute " << dirPath.toStdString());
// exclude working only on last component, not the full path; iterating through all directories, even excluded from monitoring
QRegExp exclude ("^(\\.|\\.\\.|\\.chronoshare|.*~|.*\\.swp)$");