Crates.io | lw |
lib.rs | lw |
version | 0.6.10 |
source | src |
created_at | 2019-03-21 19:10:08.309515 |
updated_at | 2022-07-03 22:58:45.072843 |
description | Log-Watcher utility - replacement for: `tail -F /some/path/*` - that uses Kqueue to watch for new files as well… |
homepage | https://github.com/VerKnowSys/lw |
repository | |
max_upload_size | |
id | 122935 |
size | 32,365 |
LogWatcher is an utility meant as a replacement for: tail -F /some/path/*
.
lw vs tail advantages:
it watches for modified, deleted and new files without restart of the utility
it won't crash if there are > 4096 files (shell pattern limit exhaustion) or directories (if you set ulimit -n
value high enough)
it works recursively on directories
Daniel (@dmilith) Dettlaff
Uses Kqueue for event monitoring (standard on BSD and macOS)
Works recursively through files/ directories but can be also used for single file monitoring
It's fast and DEBUG'able (through DEBUG and TRACE env variables)
Produces colorful output (especially in DEBUG and TRACE mode).
cargo install --force lw
Rust >= 1.40.0
Clang >= 10.x
Make >= 3.x
Cmake >= 3.16
POSIX compliant base-system (tested on systems: FreeBSD/ HardenedBSD/ Darwin)
BSD
MIT