mirror of https://github.com/tstack/lnav
[tailer] set the mtime on the synced file
parent
22ad9f23a9
commit
9138251355
@ -1,5 +1,6 @@
|
||||
---
|
||||
title: ChangeBlog
|
||||
layout: home
|
||||
permalink: /blog/
|
||||
---
|
||||
|
||||
|
@ -0,0 +1,23 @@
|
||||
---
|
||||
layout: post
|
||||
title: Added "lo-fi" mode
|
||||
excerpt: An alternative way to copy displayed text.
|
||||
---
|
||||
|
||||
*(This change is in v0.7.2+)*
|
||||
|
||||
Copying text to the clipboard can be done by marking lines with the
|
||||
[bookmark hotkeys](https://docs.lnav.org/en/latest/hotkeys.html#bookmarks),
|
||||
like `m`, and then pressing `c`. Commands that write to a file,
|
||||
like [`:write-csv-to`](https://docs.lnav.org/en/latest/commands.html#write-csv-to-path)
|
||||
accept `/dev/clipboard` as a way to write to the clipboard. However, if the
|
||||
native clipboard isn't supported, or you're on an SSH connection, you can
|
||||
now switch to "lo-fi" mode. In "lo-fi" mode, lnav drops out of the curses
|
||||
display and prints the raw text to the terminal. You can switch to "lo-fi"
|
||||
mode in a view by pressing `CTRL-L`. For commands, you can use a dash `-`
|
||||
to switch to "lo-fi" and print to standard out.
|
||||
|
||||
<script id="asciicast-fH4cdgugIJVcPQnSwCmTdaA7f"
|
||||
src="https://asciinema.org/a/fH4cdgugIJVcPQnSwCmTdaA7f.js"
|
||||
async>
|
||||
</script>
|
@ -0,0 +1,16 @@
|
||||
---
|
||||
layout: post
|
||||
title: "Reveal log message source file paths by pressing left-arrow"
|
||||
excerpt: Find out where log messages are coming from.
|
||||
---
|
||||
|
||||
*(This change is in v0.8.4+)*
|
||||
|
||||
If you want to know which file log messages are coming from, you can press the
|
||||
left-arrow to reveal the unique name and then press it again to reveal the
|
||||
full path.
|
||||
|
||||
<script id="asciicast-ATHHpQiHVaTVxVRkhCv4ED7wT"
|
||||
src="https://asciinema.org/a/ATHHpQiHVaTVxVRkhCv4ED7wT.js"
|
||||
async>
|
||||
</script>
|
@ -0,0 +1,22 @@
|
||||
---
|
||||
layout: post
|
||||
title: "Support for tagging and commenting on log messages"
|
||||
excerpt: Annotate log messages with your thoughts.
|
||||
---
|
||||
|
||||
*(This change is in v0.8.4+)*
|
||||
|
||||
If you have been wanting to add notes to log messages you might be interested
|
||||
in, the new [`:comment`](https://docs.lnav.org/en/latest/commands.html#comment-text)
|
||||
and [`:tag`](https://docs.lnav.org/en/latest/commands.html#tag-tag) commands.
|
||||
These commands add a comment or tag(s) to the top message in the log view.
|
||||
The comments and tags are saved in the session, so they will be restored
|
||||
automatically when the file is reopened. These annotations can be searched
|
||||
for using the regular search prompt and can be accessed in the
|
||||
[log tables](https://docs.lnav.org/en/latest/sqlext.html#log-tables) using the
|
||||
`log_tags` and `log_comment` columns.
|
||||
|
||||
<script id="asciicast-yRTcQd2VMv3QZVs5597OyAAxI"
|
||||
src="https://asciinema.org/a/yRTcQd2VMv3QZVs5597OyAAxI.js"
|
||||
async>
|
||||
</script>
|
@ -0,0 +1,35 @@
|
||||
---
|
||||
layout: post
|
||||
title: "Visual filter editor"
|
||||
excerpt: A friendlier way to interact with filters.
|
||||
---
|
||||
|
||||
*(This change is in v0.8.5+)*
|
||||
|
||||
A visual filter editor has been added to make it easier to create, edit,
|
||||
enable, disable, and delete filters. In the log or text views, pressing `TAB`
|
||||
will open the filter editor panel. While the panel is in focus, the following
|
||||
hotkeys can be used:
|
||||
|
||||
- `i` - Create an IN filter that will only show lines that match the given
|
||||
regular expression.
|
||||
- `o` - Create an OUT filter that will hide lines that match the given regular
|
||||
expression.
|
||||
- `Space` - Toggle the filter between being enabled and disabled.
|
||||
- `Enter` - Edit the selected filter.
|
||||
- `Shift+D` - Delete the filter.
|
||||
- `t` - Switch a filter from an IN to an OUT or vice-versa.
|
||||
- `f` - Globally enable or disable filtering.
|
||||
|
||||
When editing a filter, the main view will highlight lines that portion of the
|
||||
lines that match the given regular expression:
|
||||
|
||||
- Lines that match an OUT filter are highlighted with red;
|
||||
- Lines that match an IN filter are highlighted with green.
|
||||
|
||||
You can also press `TAB` to complete words that are visible in the main view.
|
||||
|
||||
<script id="asciicast-tcHeLbqVImRVcxWTYIrm3v6bw"
|
||||
src="https://asciinema.org/a/tcHeLbqVImRVcxWTYIrm3v6bw.js"
|
||||
async>
|
||||
</script>
|
Loading…
Reference in New Issue