2021-08-15 21:47:55 +00:00
|
|
|
lnav v0.10.1:
|
2021-08-24 05:25:38 +00:00
|
|
|
Features:
|
2021-09-08 21:56:18 +00:00
|
|
|
* Added ":show-only-this-file" command that hides all files except the
|
|
|
|
one for the top line in the view.
|
2021-08-24 05:25:38 +00:00
|
|
|
* The ":write-raw-to" command now accepts a --view flag that specifies
|
|
|
|
the source view for the data to write. For example, to write the
|
|
|
|
results of a SQL query, you would pass "--view=db" to the command.
|
2021-09-16 04:29:55 +00:00
|
|
|
* The commands used to access the clipboard are now configured through
|
|
|
|
the "tuning" section of the configuration.
|
|
|
|
Interface changes:
|
|
|
|
* The xclip implementation for accessing the system clipboard now writes
|
|
|
|
to the "clipboard" selection instead of the "primary" selection.
|
2021-08-15 21:47:55 +00:00
|
|
|
Bug Fixes:
|
|
|
|
* The text "send-input" would show up on some terminals instead of
|
|
|
|
ignoring the escape sequence. This control sequence was only
|
|
|
|
intended to be used in the test suite.
|
2021-09-15 04:20:25 +00:00
|
|
|
* Remote file synchronization has been optimized a bit.
|
2021-08-16 05:58:58 +00:00
|
|
|
* Configuration values loaded from the ~/.lnav/configs directory
|
|
|
|
are now included in the default configuration, so they won't be
|
|
|
|
saved into the ~/.lnav/config.json user configuration file.
|
2021-08-16 17:29:59 +00:00
|
|
|
* Key handling in the visual filter editor will no longer swallow
|
|
|
|
certain key-presses when editing a filter.
|
2021-08-17 17:43:58 +00:00
|
|
|
* Scrolling performance restored in the SQL view.
|
2021-08-22 20:50:53 +00:00
|
|
|
* The ':redirect-to' command now works with '/dev/clipboard'
|
2021-08-25 17:29:00 +00:00
|
|
|
* The field overlay (opened by pressing 'p') now shows 'log_time'
|
|
|
|
for the timestamp field instead of the name defined in the format.
|
2021-08-26 16:05:26 +00:00
|
|
|
* The search term in the bottom status bar will now update properly
|
|
|
|
when switching views.
|
2021-08-26 16:29:40 +00:00
|
|
|
* The "Out-Of-Time-Order Message" overlay will be shown again.
|
2021-08-28 05:37:10 +00:00
|
|
|
* The tab for the "Files" panel will be highlighted in red if there
|
|
|
|
is an issue opening a file.
|
2021-09-08 21:43:16 +00:00
|
|
|
* Overwritten files should be reloaded again.
|
2021-09-10 05:22:52 +00:00
|
|
|
* The "jget()" SQL function now returns numbers with the correct type.
|
2021-09-11 04:01:25 +00:00
|
|
|
* The local copies of remote files are now cleaned up after a couple
|
|
|
|
days of the host not being accessed.
|
2021-08-15 21:47:55 +00:00
|
|
|
|
2021-06-11 06:01:05 +00:00
|
|
|
lnav v0.10.0:
|
2020-10-01 04:55:37 +00:00
|
|
|
Features:
|
2021-05-04 04:59:01 +00:00
|
|
|
* Files on remote machines can be viewed/tailed if they are accessible
|
|
|
|
via SSH. The syntax for specifying the host and path is similar to
|
|
|
|
scp. For example, to view the files in the /var/log directory on the
|
|
|
|
machine "host1.example.org":
|
|
|
|
user@host1.example.org:/var/log
|
|
|
|
Note that you must be able to log into the machine without any
|
|
|
|
interaction.
|
2020-11-29 21:20:07 +00:00
|
|
|
* Added the ':filter-expr' command to filter log messages based on an SQL
|
|
|
|
expression. This command allows much greater control over filtering.
|
2021-05-14 05:00:26 +00:00
|
|
|
* Added the ':mark-expr' command to mark log messages based on an SQL
|
|
|
|
expression. This command makes it easier to programmatically mark
|
|
|
|
log messages compared to using SQL.
|
2021-01-10 21:33:20 +00:00
|
|
|
* Added support for archive files, like zip, and other compression formats,
|
|
|
|
like xz, when compiled with libarchive. When one of these types of
|
|
|
|
files is detected, they are unpacked into a temporary directory and
|
|
|
|
all of the files are loaded into lnav.
|
2020-12-23 23:01:21 +00:00
|
|
|
* Added an 'xpath()' table-valued function for extracting values from
|
|
|
|
strings containing XML snippets.
|
2020-10-01 04:55:37 +00:00
|
|
|
* Added the ':prompt' command to allow for more customization of prompts.
|
|
|
|
Combined with a custom keymapping, you can now open a prompt and prefill
|
|
|
|
it with a given value. For example, a key could be bound to the
|
|
|
|
following command to open the command prompt with ":filter-in " already
|
|
|
|
filled in:
|
|
|
|
:prompt command : 'filter-in '
|
2020-12-19 06:35:23 +00:00
|
|
|
* Added support for the W3C Extended Log File Format with the name
|
|
|
|
"w3c_log". Similarly to the bro log format, the header is used to
|
|
|
|
determine the columns in a particular file. However, since the columns
|
|
|
|
can be different between files, the SQL table only has a well-known set
|
|
|
|
of columns and the remainder are accessible through JSON-objects stored
|
|
|
|
in columns like "cs_headers" and "sc_headers".
|
2020-12-06 05:51:46 +00:00
|
|
|
* Added support for the S3 Access File Format.
|
2020-10-01 04:55:37 +00:00
|
|
|
* To jump to the first search hit above the top line in a view, you can
|
|
|
|
press CTRL+J instead of ENTER in the search prompt. Pressing ENTER
|
|
|
|
will jump to the first hit below the current window.
|
2020-10-03 04:17:52 +00:00
|
|
|
* Filtering, as a whole, can be now disabled/enabled without affecting
|
|
|
|
the state of individual filters. This includes text and time-filters
|
|
|
|
(i.e. :hide-lines-before). You can enable/disable filtering by:
|
|
|
|
pressing 'f' in the filter editor UI; executing the ':toggle-filtering'
|
|
|
|
command; or by doing an UPDATE on the "filtering" column of the
|
|
|
|
"lnav_views" SQLite table.
|
2020-11-13 05:58:40 +00:00
|
|
|
* Themes can now include definitions for text highlights under:
|
|
|
|
/ui/theme-defs/<theme_name>/highlights
|
2021-02-13 20:41:48 +00:00
|
|
|
* Added a "grayscale" theme that isn't so colorful.
|
2021-02-25 23:47:36 +00:00
|
|
|
* Added the humanize_file_size() SQL function that converts a numeric size
|
|
|
|
to a human-friendly string.
|
|
|
|
* Added the sparkline() SQL function that returns a "sparkline" bar made
|
|
|
|
out of unicode characters. It can be used with a single value or as
|
|
|
|
an aggregator.
|
|
|
|
* Added a "log_time_msecs" hidden column to the log tables that returns
|
|
|
|
the timestamp as the number of milliseconds from the epoch.
|
2021-03-06 00:17:28 +00:00
|
|
|
* Added an "lnav_top_file()" SQL function that can be used to get the
|
|
|
|
name of the top line in the top view or NULL if the line did not come
|
|
|
|
from a file.
|
|
|
|
* Added a "mimetype" column to the lnav_file table that returns a guess as
|
|
|
|
to the MIME type of the file contents.
|
|
|
|
* Added a "content" hidden column to the lnav_file table that can be used
|
|
|
|
to read the contents of the file. The contents can then be passed to
|
|
|
|
functions that operate on XML/JSON data, like xpath() or json_tree().
|
|
|
|
* Added an "lnav_top_view" SQL VIEW that returns the row for the top view
|
|
|
|
in the lnav_views table.
|
2021-03-24 05:23:08 +00:00
|
|
|
* The "generate_series()" SQLite extension is now included by default.
|
|
|
|
One change from the standard implementation is that both the start and
|
|
|
|
stop are required parameters.
|
2021-03-28 20:50:26 +00:00
|
|
|
* Added the ";.read" SQL command for executing a plain SQL file.
|
2021-05-14 02:50:04 +00:00
|
|
|
* Added the "-N" flag so that lnav will run without opening the default
|
|
|
|
syslog file.
|
2020-10-01 04:55:37 +00:00
|
|
|
|
2020-10-29 05:56:58 +00:00
|
|
|
Interface Changes:
|
|
|
|
* When copying log lines, the file name and time offset will be included
|
|
|
|
in the copy if they are enabled.
|
2020-12-06 05:51:46 +00:00
|
|
|
* Log messages that cannot be parsed properly will be given an "invalid"
|
|
|
|
log level and the invalid portions colored yellow.
|
2020-12-25 06:29:38 +00:00
|
|
|
* The range_start and range_stop values of the regexp_capture() results
|
|
|
|
now start at 1 instead of zero to match with what the other SQL string
|
|
|
|
functions expect.
|
2021-02-25 23:47:36 +00:00
|
|
|
* The ":write-cols-to" command has been renamed to ":write-table-to".
|
|
|
|
* The DB view will limit the maximum column width to 120 characters.
|
|
|
|
* The ":echo" command now evaluates its message to do variable
|
|
|
|
substitution.
|
2021-05-14 20:31:19 +00:00
|
|
|
* The ":write-raw-to" command has been changed to write the original
|
|
|
|
log file content of marked lines. For example, when viewing a JSON
|
|
|
|
log, the JSON-Line values from the log file will be written to the
|
|
|
|
output file. The ":write-view-to" command has been added to perform
|
|
|
|
the previous work of ":write-raw-to" where the raw content of the view
|
|
|
|
is written to the file.
|
2020-10-29 05:56:58 +00:00
|
|
|
|
2020-11-10 06:18:17 +00:00
|
|
|
Fixes:
|
|
|
|
* Unicode text can now be entered in prompts.
|
2021-02-25 23:47:36 +00:00
|
|
|
* The replicate() SQL function would cause a crash if the number of
|
|
|
|
replications was zero.
|
2021-05-22 04:39:36 +00:00
|
|
|
* Many internal improvements.
|
2020-11-10 06:18:17 +00:00
|
|
|
|
2020-09-02 05:36:16 +00:00
|
|
|
lnav v0.9.0:
|
2019-05-03 20:50:19 +00:00
|
|
|
Features:
|
2019-05-08 13:05:09 +00:00
|
|
|
* Added support for themes and included a few as well: default, eldar,
|
2019-05-04 17:35:23 +00:00
|
|
|
monocai, night-owl, solarized-light, and solarized-dark. The theme
|
|
|
|
can be changed using the ':config' command, like so:
|
2019-05-03 20:50:19 +00:00
|
|
|
:config /ui/theme night-owl
|
2020-09-23 21:03:20 +00:00
|
|
|
Consult the online documentation for defining a new theme at:
|
|
|
|
https://lnav.readthedocs.io/en/latest/config.html#theme-definitions
|
2020-09-13 04:23:26 +00:00
|
|
|
* Added support for custom keymaps and included the following: de, fr,
|
|
|
|
uk, us. The keymap can be changed using the ':config' command, like so:
|
|
|
|
:config /ui/keymap uk
|
2020-09-23 21:03:20 +00:00
|
|
|
Consult the online documentation for defining a new keymap at:
|
|
|
|
https://lnav.readthedocs.io/en/latest/config.html#keymap-definitions
|
2020-09-24 20:12:43 +00:00
|
|
|
* The following JSON-Schemas have been published for the log format and
|
|
|
|
configuration JSON files:
|
|
|
|
https://lnav.org/schemas/format-v1.schema.json
|
|
|
|
https://lnav.org/schemas/config-v1.schema.json
|
|
|
|
Formats should be updated to reference the schema using the "$schema"
|
|
|
|
property.
|
2019-07-30 13:28:42 +00:00
|
|
|
* Indexing of new data in log files can now be paused by pressing '='
|
|
|
|
and unpaused by pressing it again. The bottom status bar will display
|
|
|
|
'Paused' in the right corner while paused.
|
|
|
|
* CMake is now a supported way to build.
|
2020-09-23 21:03:20 +00:00
|
|
|
* When viewing data from the standard-input, a symbolic name can be used
|
|
|
|
to preserve session state. The name can be changed using the
|
|
|
|
"rename-stdin" lnav script or by doing an UPDATE to the filepath
|
|
|
|
column of the lnav_file table. For example, to assign the name
|
|
|
|
"journald", the following SQL statement can be executed in lnav:
|
2020-04-25 14:32:05 +00:00
|
|
|
;UPDATE lnav_file SET filepath='journald' WHERE filepath='stdin'
|
2020-04-21 13:20:25 +00:00
|
|
|
* The size of the terminal can be accessed in SQL using the $LINES and
|
|
|
|
$COLS variables.
|
2020-04-25 14:32:05 +00:00
|
|
|
* The raise_error(msg) SQL function has been added to make it easier to
|
|
|
|
raise an error in an lnav script to stop execution and notify the user.
|
2020-05-18 05:23:30 +00:00
|
|
|
* Added the json_concat() function to make it easier to append/concatenate
|
|
|
|
values onto arrays.
|
2020-08-22 06:18:51 +00:00
|
|
|
* Added the ":write-jsonlines-to" command that writes the result of a SQL
|
|
|
|
query to a file in the JSON Lines format.
|
2019-07-30 13:28:42 +00:00
|
|
|
|
|
|
|
Interface Changes:
|
|
|
|
* Data piped into lnav is no longer dumped to the console after exit.
|
2020-09-23 21:03:20 +00:00
|
|
|
Instead a file containing the data is left in .lnav/stdin-captures/
|
2019-07-30 13:28:42 +00:00
|
|
|
and a message is printed to the console indicating the file name.
|
|
|
|
* In time-offset mode, the deltas for messages before the first mark
|
|
|
|
are now negative instead of relative to the start of the log.
|
2019-08-01 14:14:47 +00:00
|
|
|
* The $XDG_CONFIG_HOME environment variable (or ~/.config directory) are
|
|
|
|
now respected for storing lnav's configuration. If you have an existing
|
|
|
|
~/.lnav directory, that will continue to be used until you move it to
|
|
|
|
$XDG_CONFIG_HOME/lnav or ~/.config/lnav.
|
2020-09-23 21:03:20 +00:00
|
|
|
* Removed the ':save-config' command. Changes to the configuration are now
|
2020-09-03 21:09:21 +00:00
|
|
|
immediately saved.
|
2019-05-03 20:50:19 +00:00
|
|
|
|
|
|
|
Fixes:
|
|
|
|
* Added 'notice' log level.
|
2019-07-30 13:28:42 +00:00
|
|
|
* If a "timestamp-format" is used in an element of a "line-format", the
|
|
|
|
field name is ignored and a formatted timestamp is always used.
|
2020-04-25 20:19:41 +00:00
|
|
|
* Ignore stdin when it is connected to /dev/null.
|
2010-03-15 15:43:58 +00:00
|
|
|
|
2018-09-13 21:27:49 +00:00
|
|
|
lnav v0.8.5:
|
2018-09-30 16:49:23 +00:00
|
|
|
Features:
|
2018-11-09 17:45:19 +00:00
|
|
|
* Added a visual filter editor to make it easier to update existing
|
2018-11-09 21:59:27 +00:00
|
|
|
filters. The editor can be opened by pressing TAB. Once the editor
|
|
|
|
is opened, you can create/delete, enable/disable, and edit the patterns
|
|
|
|
with hotkeys.
|
2018-11-09 17:45:19 +00:00
|
|
|
* Added an 'lnav_view_filters' SQL table that can be used to
|
|
|
|
programmatically manipulate filters.
|
2019-02-15 17:22:32 +00:00
|
|
|
* Added an 'lnav_view_filter_stats' SQL table that contains the number of
|
|
|
|
times a given filter matched a line in the view.
|
2019-02-15 06:42:44 +00:00
|
|
|
* Added a 'log_filters' column to log tables that can be used to see what
|
|
|
|
filters matched the log message.
|
2018-12-14 14:18:31 +00:00
|
|
|
* A history of locations in a view is now kept so that you can jump back
|
|
|
|
to where you were previously using the '{' and '}' keys. The location
|
|
|
|
history can also be accessed through the ":prev-location" and
|
|
|
|
":next-location" commands.
|
2018-09-30 16:49:23 +00:00
|
|
|
* The ":write-*" commands will now accept "/dev/clipboard" as a file name
|
|
|
|
that writes to the system clipboard.
|
2018-11-22 01:00:28 +00:00
|
|
|
* The ":write-to" and ":write-raw-to" commands will now print out comments
|
|
|
|
and tags attached to the lines.
|
2018-10-12 14:12:35 +00:00
|
|
|
* Added a ":redirect-to <path>" command to redirect command output to the
|
|
|
|
given file. This command is mostly useful in scripts where one might
|
|
|
|
want to redirect all output from commands like ":echo" and ":write-to -"
|
|
|
|
to a single file.
|
2019-03-13 23:37:41 +00:00
|
|
|
* If a log file format has multiple patterns for matching log messages,
|
|
|
|
each pattern is now tried to match a message in a file. Previously,
|
|
|
|
only one pattern was ever used for an entire file.
|
|
|
|
* Added haproxy log format from Peter Hoffmann.
|
2018-11-14 04:55:04 +00:00
|
|
|
* Added 'spooky_hash()' and 'group_spooky_hash()' SQL functions to
|
|
|
|
generate a hash of their parameters.
|
2019-03-12 14:03:32 +00:00
|
|
|
* Added 'time_offset' to the 'lnav_file' table so that the timestamps in
|
|
|
|
a file can be adjusted programmatically.
|
2018-09-30 16:49:23 +00:00
|
|
|
|
2018-09-13 21:27:49 +00:00
|
|
|
Interface Changes:
|
|
|
|
* The auto-complete behavior in the prompt has been modified to fall back
|
|
|
|
to a fuzzy search if the prefix search finds no matches. For example,
|
|
|
|
typing in ":fin" and pressing TAB would previously not do anything.
|
|
|
|
Now, the ":fin" will be completed to ":filter-in " since that is a
|
|
|
|
strong fuzzy match. If there are multiple matches, as would happen
|
|
|
|
with ":dfil", readline's menu-complete behavior will be engaged and
|
|
|
|
you can press TAB cycle through the options.
|
2019-02-15 06:42:44 +00:00
|
|
|
* Added CTRL+F to toggle the enabled/disabled state of all filters for the
|
|
|
|
current view.
|
2019-03-15 05:24:57 +00:00
|
|
|
* The '-r' flag is now for recursively loading files. The functionality
|
|
|
|
for loading rotated files is now under the '-R' flag.
|
2019-02-15 06:42:44 +00:00
|
|
|
* The current search term is now shown in the bottom status bar.
|
2019-01-25 06:05:15 +00:00
|
|
|
* Some initial help text is now shown for the search and SQL prompts to
|
|
|
|
refresh the memory.
|
2018-11-22 01:00:28 +00:00
|
|
|
* When entering the ":comment" command for a line with a comment, the
|
|
|
|
command prompt will be filled in with the existing comment to make
|
|
|
|
editing easier.
|
2019-01-25 06:05:15 +00:00
|
|
|
* Hidden fields now show up as a unicode vertical ellipsis (⋮) instead of
|
|
|
|
three-dot ellipsis to save space.
|
2019-01-25 15:45:17 +00:00
|
|
|
* Pressing 7/8 will now move to the previous/next minute.
|
2019-01-29 15:30:37 +00:00
|
|
|
* The ":write-raw-to" command has been changed to write the entire
|
|
|
|
contents of the current view and a ":write-screen-to" command has been
|
|
|
|
added to write only the current screen contents.
|
2019-02-04 06:03:52 +00:00
|
|
|
* Disabled filters are now saved in sessions.
|
2019-03-12 14:03:32 +00:00
|
|
|
* The ":adjust-log-time" command now accepts relative times as input.
|
2018-09-13 21:27:49 +00:00
|
|
|
|
2018-11-15 05:46:49 +00:00
|
|
|
Fixes:
|
|
|
|
* The ":write-json-to" command will now pass through JSON cells as their
|
|
|
|
JSON values instead of a JSON-encoded string.
|
|
|
|
|
2018-03-28 05:11:57 +00:00
|
|
|
lnav v0.8.4:
|
|
|
|
Features:
|
2018-05-17 14:06:50 +00:00
|
|
|
* Added the ':comment' command that can be used to attach a comment to a
|
|
|
|
log line. The comment will be displayed below the line, like so:
|
|
|
|
2017-01-01T15:30:00 error: computer is on fire
|
|
|
|
+ This is where it all went wrong
|
|
|
|
The ':clear-comment' command will remove the attached comment. Comments
|
|
|
|
are searchable with the standard search mechanism and they are available
|
|
|
|
in SQL through the "log_comment" column.
|
|
|
|
* Added the ':tag', ':untag', and ':delete-tags' commands that can be used
|
|
|
|
to attach/detach tags on the top log line and delete all instances of
|
|
|
|
a tag. Tags are also searchable and are available in SQL as a JSON
|
|
|
|
array in the "log_tags" column.
|
2018-03-28 05:11:57 +00:00
|
|
|
* Pressing left-arrow while viewing log messages will reveal the source
|
2018-07-22 14:27:59 +00:00
|
|
|
file name for each line and the unique parts of the source path.
|
|
|
|
Pressing again will reveal the full path.
|
|
|
|
* The file name section of the top status line will show only the unique
|
|
|
|
parts of the log file path if there is not enough room to show the full
|
|
|
|
path.
|
2018-05-17 14:06:50 +00:00
|
|
|
* Added the ":hide-unmarked-lines" and ":show-unmarked-lines" commands
|
|
|
|
that hide/show lines based on whether they are bookmarked.
|
|
|
|
* Added the "json_contains()" SQL function to check if a JSON value
|
|
|
|
contains a number of a string.
|
2018-08-12 15:37:16 +00:00
|
|
|
* The relative time parser recognizes "next" at the beginning of the
|
|
|
|
input, for example, "next hour" or "next day". Handy for use in the
|
|
|
|
":goto" command.
|
2018-08-21 18:10:03 +00:00
|
|
|
* Added a "text-transform" option for formatting JSON log messages. The
|
|
|
|
supported options are: none, uppercase, lowercase, and capitalize.
|
|
|
|
* Added a special "__level__" field name for formatting JSON messages so
|
|
|
|
that the lnav level name can be used instead of the internal value in
|
|
|
|
the JSON object.
|
2018-08-21 19:45:28 +00:00
|
|
|
* Added a log format for journald JSON logs.
|
2018-03-28 05:11:57 +00:00
|
|
|
|
2018-03-28 14:25:10 +00:00
|
|
|
Interface Changes:
|
|
|
|
* When typing in a search, instead of moving the view to the first match
|
|
|
|
that was found, the first ten matches will be displayed in the preview
|
|
|
|
window.
|
2018-05-10 13:44:03 +00:00
|
|
|
* The pretty-print view maintains highlighting from the log view.
|
|
|
|
* The pretty-print view no longer tries to reverse lookup IP addresses.
|
2018-05-17 14:06:50 +00:00
|
|
|
* The online help for commands and SQL functions now includes a 'See Also'
|
|
|
|
section that lists related commands/functions.
|
2018-03-28 14:25:10 +00:00
|
|
|
|
2018-03-28 05:11:57 +00:00
|
|
|
Fixes:
|
|
|
|
* The HOME key should now work in the command-prompt and move the cursor
|
|
|
|
to the beginning of the line.
|
|
|
|
* The :delete-filter command should now tab-complete existing filters.
|
|
|
|
* Milliseconds can now be used in relative times (e.g. 10:00:00.123)
|
2018-08-12 15:37:16 +00:00
|
|
|
* The J/K hotkeys were not marking lines correctly when the bottom of
|
|
|
|
the view was reached.
|
2018-08-21 18:10:03 +00:00
|
|
|
* The level field in JSON logs should now be recognized by the level
|
|
|
|
patterns in the format.
|
2018-03-28 05:11:57 +00:00
|
|
|
|
2017-04-16 04:11:11 +00:00
|
|
|
lnav v0.8.3:
|
2017-04-16 22:07:41 +00:00
|
|
|
Features:
|
2017-04-23 14:11:21 +00:00
|
|
|
* Support for the Bro Network Security Monitor (https://www.bro.org) log
|
|
|
|
file format.
|
2017-04-16 22:07:41 +00:00
|
|
|
* Added an fstat() table-valued function for querying the local
|
|
|
|
filesystem.
|
|
|
|
* Added readlink() and realpath() SQL functions.
|
2017-12-29 14:50:01 +00:00
|
|
|
* Highlights specified in log formats can now specify the colors to use
|
|
|
|
for the highlighted parts of the log message.
|
2018-02-12 06:11:01 +00:00
|
|
|
* Added a ":quit" command.
|
|
|
|
* Added a "/ui/default-colors" configuration option to specify that the
|
|
|
|
terminal's default background and foreground colors should be used
|
|
|
|
instead of black and white.
|
|
|
|
|
|
|
|
Interface Changes:
|
|
|
|
* Pressing delete at a command-prompt will exit the prompt if there is no
|
|
|
|
other input.
|
|
|
|
|
2017-04-16 04:11:11 +00:00
|
|
|
Fixes:
|
|
|
|
* The help view now includes all the command-help that would pop up as
|
|
|
|
you entered commands and SQL queries.
|
|
|
|
* Hidden fields and lines hidden before/after times are now saved in the
|
|
|
|
current session and restored.
|
2017-08-02 18:10:32 +00:00
|
|
|
* Unicode characters should now be displayed correctly (make sure you
|
|
|
|
have LANG set to a UTF-8 locale).
|
2017-04-16 04:11:11 +00:00
|
|
|
|
2016-08-19 05:15:35 +00:00
|
|
|
lnav v0.8.2:
|
|
|
|
Features:
|
|
|
|
* The timestamp format for JSON log files can be specified with the
|
|
|
|
"timestamp-format" option in the "line-format" array.
|
2016-10-25 13:39:36 +00:00
|
|
|
* Added "min-width", "max-width", "align", and "overflow" options to the
|
2016-08-22 13:45:27 +00:00
|
|
|
"line-format" in format definitions for JSON log files. These options
|
|
|
|
give you more control over how the displayed line looks.
|
2016-10-29 13:52:12 +00:00
|
|
|
* Added a "hidden" option to log format values so that you can hide JSON
|
|
|
|
log fields from being displayed if they are not in the line format.
|
2016-12-06 00:34:30 +00:00
|
|
|
* Added a "rewriter" field to log format value definitions that is a
|
|
|
|
command used to rewrite the field in the pretty-printed version of a
|
|
|
|
log message. For example, the HTTP access log format will rewrite the
|
|
|
|
status code field to include the textual version (e.g. 200 (OK)).
|
2017-02-24 14:47:56 +00:00
|
|
|
* Log message fields can now be hidden using the :hide-fields" command or
|
2017-02-23 14:15:44 +00:00
|
|
|
by setting the 'hidden' property in the log format. When hidden, the
|
|
|
|
fields will be replaced with a yellow ellipsis when displayed. Hiding
|
|
|
|
large fields that contain extra details can make the log easier to read.
|
|
|
|
The 'x' hotkey can be used to quickly toggle whether these fields are
|
|
|
|
displayed or not.
|
2017-03-04 23:22:19 +00:00
|
|
|
* Added a ':mark' command to bookmark the top line in the current view.
|
|
|
|
* Added an ':alt-msg' command that can be used to set the text to be
|
|
|
|
displayed in the bottom right of the command line. This command is
|
|
|
|
mostly intended for use by hotkey maps to set the help text.
|
|
|
|
* In lnav scripts, the first row of a SQL query result will now be turned
|
|
|
|
into local variables that can be referenced in other commands or
|
|
|
|
queries. For example, the following script will print the number one:
|
|
|
|
;SELECT 1 as foobar
|
|
|
|
:eval :echo ${foobar}
|
|
|
|
* Added an 'lnav_view_stack' SQL table that gives access to the view
|
|
|
|
stack.
|
|
|
|
* Added a 'top_time' column to the lnav_views table so that you can get
|
|
|
|
the timestamp for the top line in views that are time-based as well as
|
|
|
|
allowing you to move the view to a given time with an UPDATE statement.
|
2017-03-26 14:28:08 +00:00
|
|
|
* Added a 'search' column to the lnav_views table so that you can perform
|
|
|
|
a text search programmatically.
|
2017-03-16 00:01:58 +00:00
|
|
|
* Added a 'regexp_capture(<string>, <pattern>)' table-valued function for
|
|
|
|
getting detailed results from matching a regular expression against a
|
|
|
|
string.
|
2017-03-31 14:01:11 +00:00
|
|
|
* Added a 'timediff(<time1>, <time2>)' SQL function for computing the
|
|
|
|
difference between two relative or absolute timestamps.
|
2017-04-05 14:05:19 +00:00
|
|
|
* Log formats can now define a default set of highlights with the
|
|
|
|
"highlights" property.
|
|
|
|
* Added a '|search-for <pattern>' built-in script that can be used to
|
|
|
|
start a search from the command-line.
|
|
|
|
* Log format definitions can now specify the expected log level for a
|
|
|
|
sample line. This check should make it easier to validate the
|
|
|
|
definition.
|
2016-08-19 05:15:35 +00:00
|
|
|
|
2016-10-25 13:39:36 +00:00
|
|
|
Interface Changes:
|
2017-03-31 14:01:11 +00:00
|
|
|
* Command and SQL documentation is now displayed in a section at the
|
2017-04-02 14:17:31 +00:00
|
|
|
bottom of the screen when a command or query is being entered. Some
|
|
|
|
commands will also display a preview of the command results. For
|
|
|
|
example, the ':open' command will display the first ten lines of the
|
2017-04-08 06:11:57 +00:00
|
|
|
file to be opened and the ':filter-out' command will highlight text
|
2017-04-09 08:57:19 +00:00
|
|
|
that matches in the current view. The preview pane can be shown/hidden
|
|
|
|
by pressing CTRL-P.
|
2016-10-25 13:39:36 +00:00
|
|
|
* The color used for text colored via ":highlight" is now based on the
|
|
|
|
the regex instead of randomly picked so that colors are consistent
|
|
|
|
across invocations.
|
|
|
|
* The "graph" view has been removed since it's functionality has been
|
|
|
|
obsoleted by other features, like ":create-search-table".
|
2016-11-23 05:02:01 +00:00
|
|
|
* When doing a search, if a hit is found within a second after hitting
|
|
|
|
<ENTER>, the view will move to the matched line. The previous behavior
|
|
|
|
was to stay on the current line, which tended to be a surprise to new
|
|
|
|
users.
|
2016-11-25 07:27:54 +00:00
|
|
|
* Pressing 'n'/'N' to move through the next/previous search hit will now
|
|
|
|
skip adjacent lines, up to the vertical size of the view. This should
|
2016-11-25 23:44:36 +00:00
|
|
|
make scanning through clusters of hits much faster. Repeatedly
|
|
|
|
pressing these keys within a short time will also accelerate scanning
|
|
|
|
by moving the view at least a full page at a time.
|
2016-11-23 05:02:01 +00:00
|
|
|
|
|
|
|
Breaking Changes:
|
|
|
|
* The captured timestamp text in log files must fully match a known format
|
|
|
|
or an error will be reported. The previous behavior was to ignore any
|
|
|
|
text at the end of the line.
|
2016-10-25 13:39:36 +00:00
|
|
|
|
2016-12-23 19:37:23 +00:00
|
|
|
Fixes:
|
|
|
|
* You can now execute commands from the standard input by using a dash (-)
|
|
|
|
with the '-f' command-line argument. Reading commands from a file
|
|
|
|
descriptor should also work, for example, with the following bash
|
|
|
|
syntax:
|
|
|
|
|
|
|
|
$ lnav -f <(echo :open the-file-to-open)
|
2017-02-19 06:35:18 +00:00
|
|
|
* Programming language syntax highlighting should now only be applied to
|
|
|
|
source code files instead of everywhere.
|
2016-12-23 19:37:23 +00:00
|
|
|
|
2015-11-25 04:59:24 +00:00
|
|
|
lnav v0.8.1:
|
2015-11-27 06:19:53 +00:00
|
|
|
Features:
|
2016-03-20 22:15:50 +00:00
|
|
|
* Added a spectrogram command and view that displays the values of a
|
2016-04-05 06:55:43 +00:00
|
|
|
numeric field over time. The view works for log message fields or
|
|
|
|
for database result columns.
|
2015-11-27 06:19:53 +00:00
|
|
|
* Log formats can now create SQL views and execute other statements
|
|
|
|
by adding '.sql' files to their format directories. The SQL scripts
|
|
|
|
will be executed on startup.
|
2015-12-10 05:29:17 +00:00
|
|
|
* Added 'json_group_object' and 'json_group_array' aggregate SQL
|
|
|
|
functions that collects values from a GROUP BY query into a JSON
|
|
|
|
object or array, respectively.
|
2015-12-02 06:59:27 +00:00
|
|
|
* The SQL view will now graph values found in JSON objects/arrays in
|
|
|
|
addition to the regular columns in the result.
|
2016-03-10 14:03:32 +00:00
|
|
|
* Added an 'regexp_match(<re>, <str>)' SQL function that can be used to
|
2016-03-08 14:48:43 +00:00
|
|
|
extract values from a string using a regular expression.
|
2016-03-10 14:03:32 +00:00
|
|
|
* Added an 'extract(<str>)' SQL function that extracts values using the
|
|
|
|
same data discover/extraction parser used in the 'logline' table.
|
2016-03-14 05:22:27 +00:00
|
|
|
* Added a "summary" overlay line to the bottom of the log view that
|
|
|
|
displays how long ago the last message was received, along with the
|
2016-03-25 13:40:18 +00:00
|
|
|
total number of files and the error rate over the past five minutes.
|
2015-12-03 13:30:01 +00:00
|
|
|
* Pressing 'V' in the DB view will now check for a column with a
|
|
|
|
timestamp and move to the corresponding time in the log view.
|
2016-03-20 22:15:50 +00:00
|
|
|
* Added 'a/A' hotkeys to restore a view previously popped with 'q/Q'.
|
2015-12-06 04:38:21 +00:00
|
|
|
* Added ":hide-lines-before", ":hide-lines-after", and
|
|
|
|
":show-lines-before-and-after" commands so that you can filter out
|
|
|
|
log lines based on time.
|
2015-12-19 06:39:27 +00:00
|
|
|
* Scripts containing lnav commands/queries can now be executed using
|
|
|
|
the pipe ('|') hotkey. See the documentation for more information.
|
|
|
|
* Added an ":eval" command that can be used to execute a command or
|
|
|
|
query after performing environment variable substitution.
|
|
|
|
* Added an ":echo" command that can be useful for scripts to message
|
|
|
|
the user.
|
2015-12-22 13:27:36 +00:00
|
|
|
* The "log_part" column can now be set with an SQL UPDATE statement.
|
2016-03-10 14:03:32 +00:00
|
|
|
* Added a "log_body" hidden column that returns the body of the log
|
|
|
|
message.
|
2016-01-05 14:18:58 +00:00
|
|
|
* Added ":config", ":reset-config", and ":save-config" commands to change
|
|
|
|
configuration options, reset to default, and save them for future
|
|
|
|
executions.
|
|
|
|
* Added a "/ui/clock-format" configuration option that controls the time
|
|
|
|
format in the top-left corner.
|
2016-05-02 03:35:37 +00:00
|
|
|
* Added a "/ui/dim-text" configuration option that controls the brightness
|
|
|
|
of text in the UI.
|
2016-04-03 03:58:20 +00:00
|
|
|
* Added support for TAI64 timestamps (http://cr.yp.to/libtai/tai64.html).
|
2016-04-23 21:32:21 +00:00
|
|
|
* Added a safe execution mode. If the 'LNAVSECURE' environment variable is
|
|
|
|
set before executing lnav, the following commands are disabled:
|
2016-04-23 02:48:17 +00:00
|
|
|
- open
|
|
|
|
- pipe-to
|
|
|
|
- pipe-line-to
|
|
|
|
- write-*-to
|
|
|
|
This makes it easier to run lnav with escalated privileges in restricted
|
|
|
|
environments, without the risk of users being able to use the above
|
|
|
|
mentioned commands to gain privileged access.
|
2015-11-27 06:19:53 +00:00
|
|
|
|
2015-11-25 04:59:24 +00:00
|
|
|
Interface Changes:
|
|
|
|
* The 'o/O' hotkeys have been reassigned to navigate through log
|
|
|
|
messages that have a matching "opid" field. The old action of
|
|
|
|
moving forward and backward by 60 minutes can be simulated by
|
|
|
|
using the ':goto' command with a relative time and the 'r/R'
|
|
|
|
hotkeys.
|
2016-03-03 14:05:26 +00:00
|
|
|
* Log messages with timestamps that pre-date previous log messages will
|
|
|
|
have the timestamp highlighted in yellow and underlined. These out-
|
|
|
|
of-time-order messages will be assigned the time of the previous
|
|
|
|
message for sorting purposes. You can press the 'p' hotkey to examine
|
|
|
|
the 'Received Time' of the message as well as the time parsed from the
|
|
|
|
original message. A "log_actual_time" hidden field has also been
|
|
|
|
added to the SQLite virtual table so you can operate on the original
|
|
|
|
message time from the file.
|
2016-03-20 22:15:50 +00:00
|
|
|
* The 'A/B' hotkeys for moving forward/backward by 10% line increments
|
|
|
|
have been reassigned to '[' and ']'. The 'a' and 'A' hotkeys are now
|
|
|
|
used to return to the previously popped view while trying to preserve
|
|
|
|
the time range. For example, after leaving the spectrogram view with
|
|
|
|
'q', you can press 'A' return to the view with the top time in the
|
|
|
|
spectrogram matching the top time in the log view.
|
|
|
|
* The 'Q' hotkey now pops the current view off of the stack while
|
|
|
|
maintaining the top time between views.
|
2015-11-25 04:59:24 +00:00
|
|
|
|
2015-12-02 06:59:27 +00:00
|
|
|
Fixes:
|
|
|
|
* Issues with tailing JSON logs have been fixed.
|
|
|
|
* The jget() SQL function should now work for objects nested in arrays.
|
|
|
|
|
2015-07-18 03:39:06 +00:00
|
|
|
lnav v0.8.0:
|
2015-05-09 05:31:56 +00:00
|
|
|
Features:
|
2015-07-12 16:57:02 +00:00
|
|
|
* Integration with "papertrailapp.com" for querying and tailing
|
|
|
|
server log and syslog messages. See the Papertrail section in
|
|
|
|
the online help for more details.
|
2015-11-04 14:25:14 +00:00
|
|
|
* Remote files can be opened when lnav is built with libcurl v7.23.0+
|
2015-08-06 06:18:19 +00:00
|
|
|
* SQL queries can now be done on lines that match a regular expression
|
|
|
|
using the "log_search" table or by creating custom tables with the
|
|
|
|
":create-search-table" command.
|
2015-07-18 03:39:06 +00:00
|
|
|
* Log formats that are "containers" for other log formats, like
|
|
|
|
syslog, are now supported. See the online help for more
|
|
|
|
information.
|
2015-08-10 04:03:23 +00:00
|
|
|
* Formats can be installed from git repositories using the '-i' option.
|
|
|
|
A standard set of extra formats can be installed by doing
|
|
|
|
'lnav -i extra'. (You must have git installed for this to work.)
|
2015-05-09 05:31:56 +00:00
|
|
|
* Added support for 'VMware vSphere Auto Deploy' log format.
|
2015-08-11 03:41:27 +00:00
|
|
|
* Added a 'sudo' log format.
|
2015-05-12 13:37:41 +00:00
|
|
|
* Added hotkeys to move left/right by a smaller increment (H/L or
|
|
|
|
Shift+Left/Shift+Right).
|
2015-05-14 05:13:47 +00:00
|
|
|
* A color-coded bar has been added to the left side to show where
|
|
|
|
messages from one file stop and messages from another file start.
|
2015-07-11 23:32:48 +00:00
|
|
|
* The '-C' option will now try to check any specified log files to
|
|
|
|
make sure the format(s) match all of the lines.
|
2015-07-18 03:39:06 +00:00
|
|
|
* Added an "all_logs" SQLite table that contains the message format
|
2015-09-21 04:03:51 +00:00
|
|
|
extracted from each log line. Also added a ';.msgformat' SQL command
|
|
|
|
that executes a query that returns the counts for each format and the
|
|
|
|
first line where the format was seen.
|
2015-07-22 14:09:51 +00:00
|
|
|
* Added an "lnav_views" SQLite table that can be used to query and
|
|
|
|
change the lnav view state.
|
2015-08-03 13:49:07 +00:00
|
|
|
* When typing in a command, the status bar will display a short
|
|
|
|
summary of the currently entered command.
|
2015-08-25 05:09:33 +00:00
|
|
|
* Added a "delete-filter" command.
|
2015-10-03 04:24:52 +00:00
|
|
|
* Added a "log_msg_instance" column to the logline and log_search
|
|
|
|
tables to make it easier to join tables that are matching log
|
|
|
|
messages that are ordered.
|
2015-10-03 21:58:01 +00:00
|
|
|
* Added a "timeslice()" function to SQLite so that it is easier to
|
|
|
|
group log messages by time buckets.
|
2015-09-14 15:56:42 +00:00
|
|
|
* The 'goto' command now supports relative time values like
|
|
|
|
'a minute ago', 'an hour later', and many more.
|
|
|
|
|
|
|
|
Interface Changes:
|
|
|
|
* The 'r/R' hotkeys have been reassigned to navigate through the log
|
|
|
|
messages by the relative time value that was last used with the
|
|
|
|
'goto' command.
|
2015-05-09 05:31:56 +00:00
|
|
|
|
2015-04-25 19:15:51 +00:00
|
|
|
Fixes:
|
2015-08-19 03:58:20 +00:00
|
|
|
* The pretty-print view should now work for text files.
|
2015-04-25 19:15:51 +00:00
|
|
|
* Nested fields in JSON logs are now supported for levels, bodies, etc...
|
|
|
|
* Tab-completion should work for quoted SQL identifiers.
|
2015-05-09 05:31:56 +00:00
|
|
|
* 'lo-fi' mode key shortcut changed to CTRL+L.
|
|
|
|
* 'redraw' shortcut removed. Relegated to just a command.
|
2015-05-12 05:19:03 +00:00
|
|
|
* Fixed lnav hang in pretty-print mode while doing a dns lookup.
|
2015-07-18 03:39:06 +00:00
|
|
|
* The generic log message parser used to extract data has been
|
|
|
|
optimized and should be a bit faster.
|
2015-04-25 19:15:51 +00:00
|
|
|
|
2015-03-16 16:16:49 +00:00
|
|
|
lnav v0.7.3:
|
2015-03-25 07:01:11 +00:00
|
|
|
Features:
|
2015-03-16 16:16:49 +00:00
|
|
|
* Add 'pipe-to' and 'pipe-line-to' commands that pipe the currently
|
|
|
|
marked lines or the current log message to a shell command,
|
|
|
|
respectively.
|
2015-03-17 06:10:34 +00:00
|
|
|
* Added a "pretty-print" view (P hotkey) that tries to reformat log
|
|
|
|
messages so that they are easier to read.
|
2015-03-20 03:43:22 +00:00
|
|
|
* Added a 'redraw' command (CTRL+L hotkey) to redraw the window in
|
|
|
|
case it has been corrupted.
|
2015-03-25 06:07:47 +00:00
|
|
|
* Added a 'relative-goto' command to move the current view relative
|
|
|
|
to its current position.
|
2015-03-25 07:01:11 +00:00
|
|
|
* Experimental support for linking with jemalloc.
|
2015-03-28 13:30:30 +00:00
|
|
|
* The plain text view now supports filtering.
|
2015-03-29 21:50:34 +00:00
|
|
|
* Added 'next-mark' and 'prev-mark' commands to jump to the next or
|
|
|
|
previous bookmarked line (e.g. error, warning, ...)
|
2015-04-04 20:36:53 +00:00
|
|
|
* Added a 'zoom-to' command to change the zoom level of the histogram
|
|
|
|
view.
|
2015-04-11 05:55:57 +00:00
|
|
|
* Log formats can now define their own timestamp formats with the
|
|
|
|
'timestamp-format' field.
|
2015-03-25 07:01:11 +00:00
|
|
|
|
|
|
|
Fixes:
|
|
|
|
* Autotools scripts overhaul.
|
|
|
|
* Added a configure option to disable linking with libtinfo. The newer
|
|
|
|
versions of ncurses don't require it, however the build silently pulls
|
|
|
|
it in as a dependency, if it is available on the system. This can be
|
|
|
|
explicitly disabled using the '--disable-tinfo' option during configure.
|
|
|
|
* Fixed the configure script behavior to ignore the values specified using
|
|
|
|
the CFLAGS and LDFLAGS environment variables while searching for sqlite3
|
|
|
|
when '--with-sqlite3' switch was specified without the prefix.
|
|
|
|
* The configure script now recognizes libeditline symlink'ed to masquerade
|
|
|
|
as libreadline. This previously used to cause problems at compile time,
|
|
|
|
specially on OS X. If you come across this error, use the
|
|
|
|
'--with-readline=prefix' switch to specify the path to the correct
|
|
|
|
location of libreadline.
|
2015-04-05 14:12:20 +00:00
|
|
|
* The order that log formats are tried against a log file is now
|
|
|
|
automatically determined so that more specific formats are tested
|
|
|
|
before more general ones. The order is determined on startup based on
|
|
|
|
how each format matches each other formats sample lines.
|
2015-04-08 09:26:25 +00:00
|
|
|
* Command files (i.e. those executed via the '-f' flag) now support
|
|
|
|
commands/queries that span more than one line.
|
2015-04-11 02:50:05 +00:00
|
|
|
* Added more log levels: stats, debug2 - debug5.
|
2015-03-16 16:16:49 +00:00
|
|
|
|
2014-11-10 16:56:35 +00:00
|
|
|
lnav v0.7.2:
|
2015-02-27 05:49:39 +00:00
|
|
|
* Added log formats for vdsm, openstack, and the vmkernel.
|
2014-11-11 16:44:44 +00:00
|
|
|
* Added a "lo-fi" mode (L hotkey) that dumps the displayed log lines
|
|
|
|
to the terminal without any decorations. The write-to, write-json-to,
|
|
|
|
and write-csv-to commands will also write their output to the terminal
|
|
|
|
when passed '-' as the file name. This mode can be useful for copying
|
|
|
|
plain text lines to the clipboard.
|
2014-11-19 14:12:43 +00:00
|
|
|
* (OS X) Text search strings are copied to the system's "find" clipboard.
|
|
|
|
Also, when starting a new search, the current value in the "find"
|
|
|
|
clipboard can be tab-completed.
|
2014-11-10 16:56:35 +00:00
|
|
|
|
2014-05-07 04:26:05 +00:00
|
|
|
lnav v0.7.1:
|
|
|
|
Features:
|
|
|
|
* Added an 'environ' SQL table that reflects lnav's environment
|
|
|
|
variables. The table can be read and written to using SQL
|
|
|
|
SELECT, INSERT, UPDATE, and DELETE statements. Setting variables
|
|
|
|
can be a way to use SQL query results in lnav commands.
|
|
|
|
* Added a 'jget' SQLite function that can extract fields from a JSON-
|
|
|
|
encoded value.
|
2014-06-18 04:29:42 +00:00
|
|
|
* Added log formats for the OpenAM identity provider.
|
2014-10-30 03:53:23 +00:00
|
|
|
* Added a 'clear-highlight' command to clear previous calls to the
|
|
|
|
'highlight' command.
|
2014-11-04 04:02:22 +00:00
|
|
|
* Fixed some performance bugs in indexing JSON log formats. Loading
|
|
|
|
times should be at least five times faster.
|
|
|
|
* Filtering performance should be improved so that enabling/disabling
|
|
|
|
filters should be almost instantaneous.
|
|
|
|
* The filter-in, filter-out, and highlight commands now support
|
|
|
|
tab-completion of text in the current view.
|
2014-11-05 17:01:09 +00:00
|
|
|
* Add a '-i' flag that installs format files in: ~/.lnav/formats/installed
|
2014-05-07 04:26:05 +00:00
|
|
|
|
2014-03-10 14:39:57 +00:00
|
|
|
lnav v0.7.0:
|
2014-02-24 19:43:50 +00:00
|
|
|
Features:
|
2014-02-24 23:50:42 +00:00
|
|
|
* Add the '.schema' SQL command to open a view that displays the schema
|
|
|
|
for the internal tables and any attached databases. If lnav was only
|
|
|
|
executed with a SQLite database and no text files, this view will open
|
|
|
|
by default.
|
|
|
|
* The scroll bar now indicates the location of errors/warnings, search
|
|
|
|
hits, and bookmarks.
|
|
|
|
* The xterm title is update to reflect the file name for the top line
|
|
|
|
in the view.
|
2014-03-01 04:35:07 +00:00
|
|
|
* Added a "headless" mode so that you can execute commands and run SQL
|
|
|
|
queries from the command-line without having to do it from the curses
|
|
|
|
UI.
|
2014-02-24 23:50:42 +00:00
|
|
|
* When doing a search or SQL query, any text that is currently being
|
|
|
|
displayed can be tab-completed.
|
|
|
|
* The '-H' option was added so you can view the internal help text.
|
|
|
|
* Added the 'g/G' hotkeys to move to the top/bottom of the file.
|
2014-03-02 07:40:12 +00:00
|
|
|
* Added a 'log_mark' column to the log tables that indicates whether or
|
|
|
|
not a log message is bookmarked. The field is writable, so you can
|
|
|
|
bookmark lines using an SQL UPDATE query.
|
2014-03-04 15:38:33 +00:00
|
|
|
* Added syntax-highlighting when editing SQL queries or search regexes.
|
2014-03-11 12:37:13 +00:00
|
|
|
* Added a "write-json-to" command that writes the result of a SQL query
|
|
|
|
to a JSON-formatted file.
|
2014-03-16 22:07:08 +00:00
|
|
|
* The "elapsed time" column now uses red/green coloring to indicate
|
|
|
|
sharp changes in the message rate.
|
2014-03-22 04:18:54 +00:00
|
|
|
* Added a "set-min-log-level" command to filter out log messages that
|
|
|
|
are below a given level.
|
2014-02-24 23:50:42 +00:00
|
|
|
|
|
|
|
Fixes:
|
|
|
|
* Performance improvements.
|
|
|
|
* Multi-line filtering has been fixed.
|
|
|
|
* A collator has been added to the log_level column in the log tables
|
|
|
|
so that you can write expressions like "log_level > 'warning'".
|
|
|
|
* The log_time datetime format now matches what is returned by
|
|
|
|
"datetime('now')" so that collating works correctly.
|
2014-03-04 15:38:33 +00:00
|
|
|
* If a search string is not valid PCRE syntax, a search is done for
|
|
|
|
the exact string instead of just returning an error.
|
2014-02-24 23:50:42 +00:00
|
|
|
* Static-linking has been cleaned up.
|
|
|
|
* OpenSSL is no longer a requirement.
|
|
|
|
* Alpha support for Windows/cygwin.
|
2014-03-01 05:27:14 +00:00
|
|
|
* Environment variables can now be accessed in SQL queries using
|
|
|
|
the syntax: $VAR_NAME
|
2014-03-02 00:35:30 +00:00
|
|
|
* An internal log is kept and written out on a crash.
|
2014-03-07 14:29:20 +00:00
|
|
|
* Partition bookmarks are now tracked separately from regular user
|
|
|
|
bookmarks. You can start a partition with the 'partition-name'
|
|
|
|
command and remove it with the 'clear-partition' command.
|
2014-03-09 15:54:55 +00:00
|
|
|
* Improved display of possible matches during tab-completion in the
|
|
|
|
command-prompt. The matches are now shown in a separate view and
|
|
|
|
pressing tab repeatedly will scroll through the view.
|
2014-03-16 22:07:08 +00:00
|
|
|
* The "open" command now does shell word expansion for file names.
|
2014-03-22 04:18:54 +00:00
|
|
|
* More config directory paths have been added: /etc/lnav,
|
|
|
|
$prefix/etc/lnav, and directories passed on the command-line with -I.
|
2014-02-24 19:43:50 +00:00
|
|
|
|
2013-11-10 01:34:06 +00:00
|
|
|
lnav v0.6.2:
|
|
|
|
Features:
|
|
|
|
* Word-wrap support.
|
|
|
|
|
|
|
|
Fixes:
|
|
|
|
* Fix some OS X Mavericks build/runtime issues.
|
|
|
|
|
2013-09-10 16:42:30 +00:00
|
|
|
lnav v0.6.1:
|
|
|
|
Features:
|
|
|
|
* Support for JSON-encoded log files.
|
|
|
|
|
|
|
|
Fixes:
|
|
|
|
* Some minor fixes and performance improvements.
|
|
|
|
|
2013-07-28 18:43:33 +00:00
|
|
|
lnav v0.6.0:
|
|
|
|
Features:
|
2013-08-29 04:46:12 +00:00
|
|
|
* Custom log formats and more builtin formats
|
|
|
|
* Automatic extraction of data from logs
|
|
|
|
* UI improvements, support for 256 color terminals
|
2013-07-28 18:43:33 +00:00
|
|
|
|
2013-05-03 06:02:03 +00:00
|
|
|
lnav v0.5.1:
|
|
|
|
Features:
|
|
|
|
* Added the '-t' and '-w' options which can be used to prepend a
|
|
|
|
timestamp to any data piped in on stdin and to specify a file to
|
|
|
|
write the contents of stdin to.
|
|
|
|
|
|
|
|
Fixes:
|
|
|
|
* Cleanup for packaging.
|
|
|
|
|
2012-07-26 05:31:38 +00:00
|
|
|
lnav v0.5.0:
|
|
|
|
Features:
|
|
|
|
* Files can be specified on the command-line using wildcards so that
|
|
|
|
new files are automatically loaded. Directories can also be passed
|
|
|
|
as command-line arguments to read all of the files in the directory.
|
|
|
|
* Builds on cygwin again.
|
|
|
|
* Added the 'C' hotkey to clear any existing user bookmarks.
|
|
|
|
* Added experimental support for accepting input from mice.
|
|
|
|
|
|
|
|
Fixes:
|
|
|
|
* Internal cleanup.
|
|
|
|
* Copying to the clipboard on OS X is now supported.
|
2013-04-23 16:25:18 +00:00
|
|
|
* Many bug fixes.
|
2012-07-26 05:31:38 +00:00
|
|
|
|
2010-08-17 16:40:39 +00:00
|
|
|
lnav v0.4.0:
|
2011-07-17 15:16:55 +00:00
|
|
|
Features:
|
|
|
|
* Files that are not recognized as containing log messages have been
|
|
|
|
broken out to a separate text files view. You can flip between the
|
|
|
|
log view and the text file view with the 't' hotkey. When viewing
|
|
|
|
text files, the 'f' hotkey will switch between files.
|
|
|
|
* Files compressed with bzip2 are recognized and decompressed on the
|
|
|
|
fly.
|
|
|
|
* Added a "session" file and command for storing commands that should
|
|
|
|
be executed on startup. For example, if you always want some
|
|
|
|
highlighting to be done, you can add that command to the session
|
|
|
|
file.
|
2010-08-17 16:40:39 +00:00
|
|
|
|
2011-07-17 15:16:55 +00:00
|
|
|
Fixes:
|
|
|
|
* Add some more log file formats for generic log files.
|
|
|
|
* Performance improvements for compressed files.
|
|
|
|
* Works on OS X now.
|
2010-08-17 16:40:39 +00:00
|
|
|
|
2010-04-26 04:12:25 +00:00
|
|
|
lnav v0.3.0:
|
2010-03-15 15:43:58 +00:00
|
|
|
Changes:
|
|
|
|
* The hotkey for the SQL view was changed to 'v' and 'V' from '.'.
|
|
|
|
|
|
|
|
Features:
|
|
|
|
* You can now switch between the SQL result view and the log view while
|
2018-01-08 18:03:11 +00:00
|
|
|
keeping the top of the views in sync with the "log_line" column.
|
2010-03-15 15:43:58 +00:00
|
|
|
|
|
|
|
Fixes:
|
2018-01-08 18:03:11 +00:00
|
|
|
* The "log_line" column is no longer included in the SQL result view's
|
2010-03-15 15:43:58 +00:00
|
|
|
stacked bar graph.
|
|
|
|
* Added a "warnings" count to the histogram view.
|