LinuxCommandLibrary

tspin

TLDR

View log file

$ tspin [logfile.log]
copy
Tail and highlight
$ tspin -f [logfile.log]
copy
Read from stdin
$ cat [log] | tspin
copy
No pager
$ tspin --no-pager [logfile.log]
copy

SYNOPSIS

tspin [-f] [--no-pager] [options] [file]

DESCRIPTION

tspin highlights log files. It colorizes output.
Automatic detection. Log format recognition.
Syntax highlighting. Colored output.
Follow mode. Real-time monitoring.
JSON support. Structured logs.

PARAMETERS

-f

Follow mode.
--no-pager
Disable pager.
--config FILE
Config file.
--help
Show help.

CAVEATS

Rust implementation. Config for custom formats. Terminal colors needed.

HISTORY

tspin was created as a log file highlighter to make logs more readable with automatic format detection.

SEE ALSO

less(1), lnav(1), tail(1)

Copied to clipboard