Semantic Logger v4.1.0 Release Notes

Release Date: 2017-05-09 // almost 7 years ago
  • โž• Added

    • ๐Ÿ†• New log format customization mechanism. Any element within the log format can be replaced without having to re-implement entire formatter.
    • Apache Kafka Appender.
    • Prototype Syslog CEE format.
    • ๐Ÿ‘ logger#tagged now supports named tags. (Hash)

    ๐Ÿ”„ Changed

    • Elasticsearch now uses a bulk load api to improve throughput. Thank you Xavier Lange
    • ๐Ÿ’Ž Replaced hash arguments with Ruby keyword arguments across all appenders and formatters.
    • โœ‚ Removed deprecated arguments.
    • ๐Ÿ”จ Refactored Syslog appender and moved format code out of appender and into Syslog formatter.
    • When the process exits SemanticLogger.close is now called instead of SemanticLogger.flush. Earlier test fameworks had issues where the at_exit was called and shutdown Semantic Logger before tests were run.

    โฌ†๏ธ Upgrade notes:

    • ๐Ÿšš As noted above deprecated arguments have been removed, so the following code, if any: ๐Ÿ’Ž ~~~ruby SemanticLogger::Appender::File.new($stderr, :warn) ~~~

    Needs to be replaced with keyword arguments: ๐Ÿ’Ž ~~~ruby SemanticLogger::Appender::File.new(io: $stderr, level: :warn)