1 unstable release
new 0.1.0 | Oct 29, 2024 |
---|
#166 in Debugging
123 downloads per month
13KB
248 lines
inotify-logger
Log inotify events in a friendly way
Features
- Recursively watches existing and newly added files and directories in the current directory.
- Groups
MOVED_FROM
andMOVED_TO
events into a singleMOVE
event when possible. - Prints only a (currently hard-coded) subset of inotify events, for ease of reading.
- Prints an inactivity ruler after one second with no new events, visually grouping events.
Installation and Usage
After obtaining a working Rust toolchain, inotify-logger can be installed from source through crates.io:
cargo install --locked inotify-logger
It can then be started in the directory to watch for events:
inotify-logger
Configuration
inotify-logger does not currently feature any configuration. It may later support configuring parts of its behavior through command-line arguments.
Compatibility
The console output is not intended for machine consumption and no compatibility guarantees are provided.
License
Copyright 2024 AudaciousAxiom
This project is licensed under MPL-2.0.
Dependencies
~3–11MB
~120K SLoC