Releases: pamburus/hl
Releases · pamburus/hl
v0.9.3
v0.9.2
- new: Added time range filter options
--since
and--until
.-
Command
$ hl example.log --since 'Jun 19 11:22:33' --until yesterday
Shows only messages occurred after Jun 19 11:22:33 UTC of the current year (or of the previous one if current date is less than Jun 19 11:22:33) and until yesterday midnight.
-
Command
$ hl example.log --since -3d
Shows only messages for the last 72 hours.
-
Command
$ hl example.log --until '2021-06-01 18:00:00' --local
Shows only messages occurred before 6 PM on 1st Jun 2021 in local time as well as show timestamps in local time.
-
v0.9.1
v0.9.0
-
new: Added support for configuration files.
Configuration file should be located in platform-specific locations. The location of configuration directory is defined by platform-dirs crate. In that directory, a sub-directory
hl
is expected. For example~/.config/hl/config.yaml
for Linux and MacOS.Default configuration
fields: time: names: [ts, TS, time, TIME, Time, _SOURCE_REALTIME_TIMESTAMP, __REALTIME_TIMESTAMP] logger: names: [logger, LOGGER, Logger] level: variants: - names: [level, LEVEL, Level] values: debug: [debug] info: [info, information] warning: [warning, warn] error: [error, err, fatal, critical, panic] - names: [PRIORITY] values: debug: [7] info: [6] warning: [5, 4] error: [3, 2, 1] message: names: [msg, message, MESSAGE, Message] caller: names: [caller, CALLER, Caller]
v0.8.15
v0.8.14
v0.8.13
- new: Buffer size option is now specified in flexible format which accepts size unit.
Use--buffer-size 4M
to set buffer size to 4 Mebibytes. - new: Added support for messages larger than buffer size with configurable maximum message size.
Use--max-message-size 256M
to set maximum message size to 256 Mebibytes.