better info in stdout

This commit is contained in:
Florian Rupp 2023-04-21 18:35:06 +02:00
parent 3c40861c70
commit 859085137f

View file

@ -146,6 +146,7 @@ if __name__ == '__main__':
This is used to immediately look for changes in the SSH sessions when a new session is opened or closed This is used to immediately look for changes in the SSH sessions when a new session is opened or closed
to prevent missing any sessions that lasted less than the FETCH_INTERVAL. to prevent missing any sessions that lasted less than the FETCH_INTERVAL.
""" """
print("Watching file {} for changes...".format(WATCHFILE))
event_handler = FileOpenedHandler() event_handler = FileOpenedHandler()
observer = Observer() observer = Observer()
observer.schedule(event_handler, path=WATCHFILE, recursive=False) observer.schedule(event_handler, path=WATCHFILE, recursive=False)