tspin
tailspin works by reading through a log file line by line, running a series of regexes against each line. The regexes recognize patterns you expect to find in a logfile, like dates, numbers, severity keywords and more. [1]
tailspin does not make any assumptions on the format or position of the items it wants to highlight. For this reason, it requires no configuration and the highlighting will work consistently across different logfiles. [1]
- Project Homepage [EN]
Documentation
Further information
- Read Log Files With Colors Using tailspin (30.03.2024) [EN] @ It's FOSS
Syntax
tspin [PARAMETER ...] [FILE|DIRECTORY ...]
Parameters
- -e, --start-at-end
- Start at the end of the file. Always true if opening a folder.
- -f, --follow
- Follow (tail) the contents of the file. Always true if opening a folder or using the --follow-command flag.
- --words-[red|green|yellow|blue|magenta|cyan]
- Highlight the provided comma separated words in the desired color.
References
- ↑ 1.0 1.1 Repository contributors. "tailspin." GitHub. https://github.com/bensadeh/tailspin (accessed 02.04.2024)