From 101c3cf1c5da2e8283b440bc4f8604fe41f27179 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Thu, 14 Mar 2019 09:20:05 -0400 Subject: [PATCH] Put some Eliot messages in the info processing loop --- src/allmydata/windows/inotify.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/allmydata/windows/inotify.py b/src/allmydata/windows/inotify.py index da11b694a..b36051690 100644 --- a/src/allmydata/windows/inotify.py +++ b/src/allmydata/windows/inotify.py @@ -313,8 +313,16 @@ class INotify(PollMixin): # print info path = self._path.preauthChild(info.filename) # FilePath with Unicode path if info.action == FILE_ACTION_MODIFIED and path.isdir(): - # print "Filtering out %r" % (info,) + Message.log( + message_type=u"filtering-out", + info=repr(info), + ) continue + else: + Message.log( + message_type=u"processing", + info=repr(info), + ) #mask = _action_to_inotify_mask.get(info.action, IN_CHANGED) @log_call(