logwrap is a tool that annotates the output of other programs and writes the result to a rotatable logfile. It is inspired by rlwrap
, the rotation mechanism of OpenBSD's newsyslog, and tools like annotate-output
and ts
.
If you have Go installed, go install github.com/xuoe/logwrap@latest
and ensure $GOPATH/bin
is part of $PATH
.
Otherwise, grab a binary for your platform from the releases page and place it somewhere in $PATH
.
The demo covers a lot of what logwrap
does. For more, see --help
, and note, in particular, the available help topics, which can be used to explore more of logwrap
s functionality via --help TOPIC
.
logwrap is released under the MIT license.