./misc/tailspin, Log file highlighter

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


Branch: CURRENT, Version: 4.0.0, Package name: tailspin-4.0.0, Maintainer: pin

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: 3710.182 KB

Version history: (Expand)


CVS history: (Expand)


   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
   2024-01-08 15:33:58 by pin | Files touched by this commit (3) | Package updated
Log message:
misc/tailspin: update to 2.3.0

 - tailspin now uses multiple threads to process lines in parallel
 - Added --bucket-size flag to configure the number of lines to process in parallel
 - Changed -t,--tail flag to -e,--start-at-end to avoid confusion with tail -f
   2023-11-20 12:27:18 by pin | Files touched by this commit (3) | Package updated
Log message:
misc/tailspin: update to 2.2.0

2.2.0
 - Added flags for setting simple highlights on the fly, for example:
   (tspin --words-red popcorn,movie)
 - Properly flatten and merge keywords to improve regex performance
 - Binaries are now added to the GitHub Release (Thanks @ecarrara and @supleed2)
 - Added HEAD HTTP method to the REST keywords (Thanks @mkogan1)
 - Fixed a bug where the message Failed to open file with less: Exit code 0
   would show after exiting less
   2023-11-12 18:01:14 by pin | Files touched by this commit (2) | Package updated
Log message:
misc/tailspin: update to 2.1.0

 - Fixed a bug where opening empty files would hang forever
 - Look for config file in USERPROFILE and $HOME instead of just $HOME
 - Added flags for disabling builtin keywords
 - Process names with dashes are now highlighted properly
 - Better error messages when less is not found