change startup log messages
This commit is contained in:
@@ -59,10 +59,11 @@ class Pyinotifyd:
|
|||||||
|
|
||||||
def start(self, loop=None):
|
def start(self, loop=None):
|
||||||
assert len(self._watches) > 0, \
|
assert len(self._watches) > 0, \
|
||||||
"pyinotifyd: unable to start, no watches set"
|
"pyinotifyd: unable to start, no watches configured"
|
||||||
if not loop:
|
if not loop:
|
||||||
loop = self._loop
|
loop = self._loop
|
||||||
|
|
||||||
|
self._log.info("starting")
|
||||||
for watch in self._watches:
|
for watch in self._watches:
|
||||||
self._log.info(f"start watching '{watch.path}' for inotify events")
|
self._log.info(f"start watching '{watch.path}' for inotify events")
|
||||||
self._notifiers.append(watch.event_notifier(self._wm, loop))
|
self._notifiers.append(watch.event_notifier(self._wm, loop))
|
||||||
|
|||||||
Reference in New Issue
Block a user