Skip to content

Releases: pamburus/hl

v0.9.3

09 Jul 20:57
6921818
Compare
Choose a tag to compare
  • fix: Fixed corruption of whitespace in case the input data is not a valid sequence of JSON lines.

v0.9.2

09 Jul 13:37
c2ed777
Compare
Choose a tag to compare
  • 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

30 Jun 16:04
49e22a5
Compare
Choose a tag to compare
  • new: Updated all dependencies.

v0.9.0

30 Jun 07:39
970bf11
Compare
Choose a tag to compare
  • 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

15 Apr 19:41
fa29d0f
Compare
Choose a tag to compare
  • new: Added builds for arm64 and gnu linux.

v0.8.14

31 Mar 15:38
f38c393
Compare
Choose a tag to compare
  • new: Added support for lowercase message field.

v0.8.13

29 Mar 11:50
aa73d75
Compare
Choose a tag to compare
  • 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.

v0.8.12

26 Mar 09:46
Compare
Choose a tag to compare
  • fix: ANSI colors appeared as escape sequences in Windows console.

v0.8.11

12 Mar 17:11
Compare
Choose a tag to compare
  • fix: Message filtering by fields in case of duplicate fields did not work.

v0.8.10

05 Mar 19:13
Compare
Choose a tag to compare
  • new: Updated dependencies.