Skip to content

Releases: pamburus/hl

v0.23.2

16 Dec 23:12
ebe8e0c
Compare
Choose a tag to compare

What's Changed

Added

  • Option --allow-prefix and environment variable HL_ALLOW_PREFIX by @pamburus in #111
    It allows non-JSON prefixes before JSON log messages

Changed

  • By default non-JSON prefixes are no longer allowed and should be enabled by --allow-prefix

Fixed

  • Fixed corrupted output in prefix mode by @pamburus in #109
  • Fixed unwanted display of messages without level when filtering by level by @pamburus in #110

Full Changelog: v0.23.0...v0.23.2

v0.23.0

14 Dec 20:47
2069700
Compare
Choose a tag to compare

What's Changed

Added

  • Support for an arbitrary prefix before JSON message by @pamburus in #108

Full Changelog: v0.22.1...v0.23.0

v0.22.1

13 Dec 19:40
734942e
Compare
Choose a tag to compare

What's Changed

Added

  • Support for numeric caller-line predefined field by @pamburus in #107

Full Changelog: v0.22.0...v0.22.1

v0.22.0

09 Dec 23:14
cad30c7
Compare
Choose a tag to compare

What's Changed

Added

  • Support for configuration compatible with ECS log format by @pamburus in #104

    • Added support for predefined field names that can match fields in nested objects when used with dot delimiters.
      For example, if log.origin.file.name is used for a predefined field name, it will match any of the
      • { "log.origin.file.name": "app.py" }
      • { "log": { "origin.file.name": "app.py" } }
      • { "log": { "origin": {"file.name": "app.py" } } }
      • { "log": { "origin": {"file": {"name": "app.py" } } } }
      • etc.
    • Added predefined caller-file and caller-line fields for separate processing of file name and line number.

    Example output

    23-11-02 08:09:10.423 |INF| __main__: backup for database bar in foo is already done today application='backup-rds' ecs={ version='1.6.0' } language='python' process={ name='MainProcess' pid=1 thread={ id=140610736142144 name='MainThread' } } ... @   app.py:107
    

    Suggested configuration file for ECS logs is etc/defaults/config-ecs.yaml
    These settings have not been added to the default configuration because it is not yet clear how they will affect performance.

Full Changelog: v0.21.0...v0.22.0

v0.21.0

27 Nov 19:21
7bc6d4f
Compare
Choose a tag to compare

What's Changed

Added

  • Option --raw to request output of raw source JSON messages instead of formatted messages by @pamburus in #101

Changed

  • Flag -r that previously served as a shortcut for --raw-fields is now a shortcut for --raw option by @pamburus in #101

Other

Full Changelog: v0.20.0...v0.21.0

v0.20.0

07 Nov 21:02
6e57ec2
Compare
Choose a tag to compare

What's Changed

Added

Changed

  • Removed lower-casing of field keys by @pamburus in #60
  • Changed default field key value separator back to equal sign by @pamburus in #53
  • Changed default theme to universal by @pamburus in #56
  • Changed info level color in one-dark themes to cyan by @pamburus in #54
  • Case is now ignored in predefined field keys by @pamburus in #96

Fixed

  • Command line options -h and -l are now compatible with older versions by @pamburus in #47
  • Fixed archive publishing for windows by @pamburus in #72
  • Fixed accidental archive type change for windows by @pamburus in #73
  • Fixed field key value separator style for nested objects by @pamburus in #75
  • Updated time zone identifier column name in wikipedia article references by @pamburus in #83
  • Fixed filtering by fields in case number of fields is greater than 32 by @pamburus in #94

New Contributors

Full Changelog: v0.15.2...v0.20.0

v0.15.2

10 Jun 18:49
17b45d8
Compare
Choose a tag to compare

What's Changed

  • new: Now colon delimiter can be used in --filter command line option by @pamburus in #41

Full Changelog: v0.15.1...v0.15.2

v0.15.1

28 May 21:41
854ae6e
Compare
Choose a tag to compare

What's Changed

  • fix: Reverted style change in one-dark-green theme introduced in v0.15.0 by @pamburus in #40

Full Changelog: v0.15.0...v0.15.1

v0.15.0

28 May 10:06
7092d15
Compare
Choose a tag to compare

What's Changed

  • new: Added configuration for formatting punctuation by @pamburus in #39
    Example
    # Formatting settings.
    formatting:
      punctuation:
        logger-name-separator: ''
        field-key-value-separator: ':'
        string-opening-quote: ""
        string-closing-quote: ""
        source-location-separator: ''
        hidden-fields-indicator: ' ...'
        level-left-separator: ''
        level-right-separator: ''

Full Changelog: v0.14.0...v0.15.0

v0.14.0

26 Nov 16:15
14aab6a
Compare
Choose a tag to compare

What's Changed

  • new: Improved support for time zones and daylight saving time offsets by @pamburus in #38

Full Changelog: v0.13.0...v0.14.0