pw_watch: Suppress excessive logs from watchdog on MacOS

The MacOS backend for watchdog is logging at the info level for every
filesystem event it detects. It seems to also be misconfigured and
watching directories that should be ignored, but for now suppressing
is enough.

Bugs: b/182281481
Change-Id: Idb526d50bb4af50f0d36699fd0ecdbcc6af434a6
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/36502
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Keir Mierle <keir@google.com>
diff --git a/pw_watch/py/pw_watch/watch.py b/pw_watch/py/pw_watch/watch.py
index 6b9f260..770b2c8 100755
--- a/pw_watch/py/pw_watch/watch.py
+++ b/pw_watch/py/pw_watch/watch.py
@@ -61,6 +61,12 @@
 _LOG = logging.getLogger(__name__)
 _ERRNO_INOTIFY_LIMIT_REACHED = 28
 
+# Suppress events under 'fsevents', generated by watchdog on every file
+# event on MacOS.
+# TODO(b/182281481): Fix file ignoring, rather than just suppressing logs
+_FSEVENTS_LOG = logging.getLogger('fsevents')
+_FSEVENTS_LOG.setLevel(logging.WARNING)
+
 _PASS_MESSAGE = """
   ██████╗  █████╗ ███████╗███████╗██╗
   ██╔══██╗██╔══██╗██╔════╝██╔════╝██║