cattail v0.1.0
Initial public release of cattail, a small multi-file tail utility for log-style files.
Published on crates.io: https://crates.io/crates/cattail
Features
- startup glob expansion
- deduped file resolution
- initial backlog display with
-n, --lines --since-nowto skip backlog and follow from the current end- concurrent per-file follow workers
- per-line source prefixes
- truncation and delete/recreate handling
- notify-backed watching with polling fallback
- dynamic discovery of newly created files matching startup globs
- serialized stdout output
Release Artifacts
- crates.io package:
cattail - README and operator docs included in the repository
- generated man page and shell completions available in the repo under
packaging/
Notes
- Newly discovered matching files begin reading from the beginning of their current contents.
- Polling remains part of the recovery path, so latency is bounded by
--interval-mswhen notify is silent or ambiguous. - Exact ordering between different files is best effort; per-file ordering is preserved.
Install
cargo install cattail
### Usage
cattail /var/log/syslog /var/log/auth.log
cattail -n 100 '/var/log/*.log'
cattail --since-now --prefix relative '/var/log/*.log'