Put some Eliot messages in the info processing loop

This commit is contained in:
Jean-Paul Calderone 2019-03-14 09:20:05 -04:00
parent 8fa6c66c2f
commit 101c3cf1c5

View File

@ -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(