Skip to content

xuoe/logwrap

Repository files navigation

CI Status Latest Release Changelog

logwrap

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.

Installation

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.

Demo

asciicast

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 logwraps functionality via --help TOPIC.

License

logwrap is released under the MIT license.