This is an automated email from the ASF dual-hosted git repository. eamonford pushed a commit to branch async-history in repository https://gitbox.apache.org/repos/asf/incubator-sdap-ingester.git
commit 774f928f00efd10ceee02dcbe101b34e8a68e61c Author: Eamon Ford <[email protected]> AuthorDate: Tue Aug 4 15:26:17 2020 -0700 log all fs events --- collection_manager/collection_manager/services/CollectionWatcher.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/collection_manager/collection_manager/services/CollectionWatcher.py b/collection_manager/collection_manager/services/CollectionWatcher.py index 8911806..63dd30c 100644 --- a/collection_manager/collection_manager/services/CollectionWatcher.py +++ b/collection_manager/collection_manager/services/CollectionWatcher.py @@ -161,6 +161,11 @@ class _GranuleEventHandler(FileSystemEventHandler): self._callback = callback self._collections_for_dir = collections_for_dir + def on_any_event(self, event): + super().on_created(event) + + logger.info(f"Collection Watcher received event: {event}") + def on_created(self, event): super().on_created(event) for collection in self._collections_for_dir:
