All Versions
67
Latest Version
Avg Release Cycle
60 days
Latest Release
-
Changelog History
Page 1
Changelog History
Page 1
-
v4.12.0 Changes
- โ Add SyslogCee formatter for Syslog.
- ๐ The Logfmt formatter can now parse Hashes and Arrays correctly.
- ๐ Fixes a race condition in
SemanticLogger.reopen
. - Ability to directly set proxy for
SemanticLogger::Appender::Http
- ๐ Fixed log level signal handler to include fatal and error levels.
- ๐ Fixes #218 Calls Sentry.init inside sentry_ruby appender only if it is not initialized
- Contributor experience related to RuboCop was improved with the
following changes:
- New .rubocop_todo.yml to hold RuboCop offenses and enable a clean run of RuboCop against the current code base.
- A number of items in .rubocop.yml were removed to allow RuboCop to manage them within the .rubocop_todo.yml file.
- Updated RuboCop's target version to Ruby 2.7.5.
- Updated minimum Ruby version to 2.7.5 as earlier versions are end-of-life.
- โ Add mutexes to
SemanticLogger.sync!
in case some users are still using it in a multi-threaded environment.
-
v4.11.0 Changes
- Add kafka client option to use system SSL settings:
ssl_ca_certs_from_system
- ๐ Support rails tagged logger usage that yields itself: ๐ ~~~ruby ๐ Rails.logger.tagged("tag") do |logger| logger.info("Hello World") end ~~~ - ๐ Fixes #211 Stop modifying supplied hash. - ๐ Fixes #194 Give message precedence over the message in the payload, if any.
- Passthru the ssl_ca_certs_from_system and required_acks flags to the ruby-kafka driver
- Add kafka client option to use system SSL settings:
-
v4.10.0 Changes
- ๐ New Feature: Add support for newer
sentry-ruby
gem. - ๐ Fixed
flush
onAsyncBatch
appender not immediately writing logs.
- ๐ New Feature: Add support for newer
-
v4.9.0 Changes
- ๐ฒ Separate out File and IO log appenders.
- โ Add "log rotation" like capabilities to the File appender.
- Re-open the log file after a specified number of log entries.
- See new SemanticLogger::Appender::File option
reopen_count
. - Re-open the log file after a specified number of bytes have been written by this process.
- See new SemanticLogger::Appender::File option
reopen_size
. - New format directives so that file name dynamically includes any of the following attributes every time the log file is re-opened:
- Host name
- Process Id
- Date
- Time
- See new SemanticLogger::Appender::File argument
file_name
.
- โ Add automatic retries for the file appender when an error occurs while writing to the file.
- See new SemanticLogger::Appender::File option
retry_count
.
- See new SemanticLogger::Appender::File option
- Other options added to the file appender:
- append, exclusive_lock, encoding
- ๐ Documentation: Fix link to GitHub Actions CI configuration.
- โ Add support for logging to elastic data-streams
- ๐ Handle case when tags are passed as an array in a single argument to
SemanticLogger::Base#tagged
. - feat: Add tags to logfmt formatter output
- ๐ fix: Ensure time_key is used in logfmt formatter
โฌ๏ธ Note: See the readme for v4.9 upgrade instructions.
-
v4.8.2 Changes
- ๐ Fixed method redefinition warnings when Rails is also used.
- Validate IO object can write when supplied to an IO appender.
-
v4.8.1 Changes
- ๐ Fixed issue where adding a file appender was being ignored after a console appender had already been added.
-
v4.8.0 Changes
๐ Changed
- โฌ๏ธ Dropped support for Ruby 2.3 and 2.4.
- ๐ Moved testing to Github Actions.
๐ Fixed
- ๐ Allow
SemanticLogger.sync!
to be called after appenders have already been created. - ๐จ Refactor
SemanticLogger::Utils.extract_backtrace
for better backtraces in Rails Semantic Logger.
โ Added
- ๐ Support for Ruby v3.
- ๐ New Logfmt formatter. #170
- Prevent multiple console (stdout or stderr) appenders from being added.
-
v4.7.4 Changes
๐ Fixed
- ๐ Allow Module filter to be passed in on the logger initializer #162
-
v4.7.3 Changes
๐ Fixed
- โ Remove
host
from theSplunkHttp
appender message body. - ๐ Support Bugsnag 6. Fix infinite loop. #150
- ๐ Fix documentation. #158
- โ Remove
-
v4.7.2 Changes
๐ Changed
- ๐ง Make Remote Syslog packet size configurable.