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 ofSemanticLogger.flush
. Earlier test fameworks had issues where theat_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)