./misc/tailspin, Log file highlighter

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 5.1.0, Package name: tailspin-5.1.0, Maintainer: pkgsrc-users

A log file highlighter.

tailspin works by reading through a log file line by line, running a series of
regexes against each line. The regexes recognize patterns like dates, numbers,
severity keywords and more.

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 or setup
and will work predictably regardless of the format the log file is in.


Master sites:

Filesize: 3531.362 KB

Version history: (Expand)


CVS history: (Expand)


   2025-04-11 14:18:15 by pin | Files touched by this commit (3) | Package updated
Log message:
misc/tailspin: update to 5.1.0

5.1.0

    Merged the inlet_manifold crate back into tailspin (tailspin is now the name \ 
of both the cli and the crate)
    Changed the apply trait to return Cow<'a, str> instead of String
    Removed the start-at-end flag

5.0.0

This is a relatively small update with one breaking change, namely the removal \ 
of the ability to watch folders. It's never fun to remove features from tailspin \ 
that users enjoy and use, however as the tool grows, it has become more \ 
important for me to focus on the core functionality of tailspin which is \ 
highlighting.

I hope that I've made tailspin modular and extensible so that user are able to \ 
script and extend tailspin to alleviate this change.

On a lighter note, I've added support for custom pagers. This means that you can \ 
now use tailspin with your favorite pager, for example ov or minus.
New features:

    Added support for using custom pagers

Bugfixes:

    Fixed a bug in the config parser where it would fall back on looking for the \ 
theme in ~/tailspin/theme.toml instead of ~/.config/tailspin/theme.toml if \ 
XDG_CONFIG_HOME is unset
    Fixed a bug where tailspin would crash reading files with one line

Under the hood:

    Use PathBuf instead of String for file paths
    Updated shell completion commands names
    Added miette for prettier error messages
    Removed unnecessary use of Box
    Bump Rust edition to 2024

Breaking changes:

    Removed support for watching folders
   2025-04-04 22:16:29 by pin | Files touched by this commit (1)
Log message:
misc/tailspin: reset maintainer
   2025-03-28 21:38:00 by pin | Files touched by this commit (1) | Package updated
Log message:
misc/tailspin: add note on required MSRV for update
   2024-10-13 00:57:38 by pin | Files touched by this commit (3) | Package updated
Log message:
misc/tailspin: update to 4.0.0

Overview

This release contains several new feature and breaking changes. From a user \ 
perspective, the most notable change is the addition of a JSON highlighter.
From a developer's perspective, the highlighting engine powering tailspin has \ 
been decoupled and extracted into a separate library called \ 
[manifold](https://github.com/bensadeh/manifold).

manifold will still be used internally by tailspin, but it will also be \ 
available as a standalone library for other projects to use.

New features:
 - Added support for handling lines which are valid JSON. tailspin will \ 
recognize if the line is a valid JSON object and highlight it accordingly.
 - Added date and time highlighter for formats like DD/MM/YYYY

Breaking changes:
 - Removed the border from the style from the keyword styling. Instead, the \ 
border will be enabled implicitly by setting a background color for the keyword.
 - Removed date highlighting for formats like Aug 14 and Sun Dec 14 etc. (Can be \ 
re-enabled by adding a custom regex highlighter)
 - One highlighting group for both date and time
   2024-08-18 13:59:48 by pin | Files touched by this commit (3) | Package updated
Log message:
misc/tailspin: update to 3.0.2

 - Add completion hint so shells understand they can complete with file names \ 
(Thanks @alerque !)
   2024-04-01 21:12:44 by pin | Files touched by this commit (3) | Package updated
Log message:
misc/tailspin: update to 3.0.1

 - Improve parsing of very large log files
   2024-01-22 08:27:41 by pin | Files touched by this commit (3) | Package updated
Log message:
misc/tailspin: update to 3.0.0

Overview

In November 2023, tailspin had 240 stars and was only available to downloads on
Crates.io and Debian. At the time of writing this, it sits at over 4k stars and
is available on most major Linux distributions, macOS and Windows.

I am glad to see that tailspin has been useful to so many people.

For version 3.0.0 there are both new features and breaking changes.
New features:
 - UUID highlighter now highlights numbers and letters in individual styling
 - Process highlighter has updated default styling and matches processes with
   parenthesis
 - Added a new highlighter 32-bit and 64-bit pointers (e.g. 0x7f8c8c0c0c0c)
 - Added a IPv6 highlighter (e.g. 2001:0db8:85a3:0000:0000:8a2e:0370:7334)
 - Dates formatted as yyyy/mm/dd and Day Month DD are now highlighted

Breaking changes:
Renamed --follow-command to --listen-command

The --follow-command flag has been renamed to --listen-command to avoid
confusion with the --tail flag.

Removed --bucket-size flag

The --bucket-size flag has been removed. The bucket size was ultimately an
implementation detail that should be set by the program itself.
   2024-01-11 21:42:38 by pin | Files touched by this commit (3) | Package updated
Log message:
misc/tailspin: update to 2.4.0

2.4.0
 - Added a regexp highlighter with support for one capture group
 - Changed the behavior of processing lines from stdin to be sequential for \ 
better stability