All Versions
67
Latest Version
Avg Release Cycle
60 days
Latest Release
-

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
  • v4.10.0 Changes

    • ๐Ÿ†• New Feature: Add support for newer sentry-ruby gem.
    • ๐Ÿ›  Fixed flush on AsyncBatch appender not immediately writing logs.
  • 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.
    • 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 the SplunkHttp appender message body.
    • ๐Ÿ‘Œ Support Bugsnag 6. Fix infinite loop. #150
    • ๐Ÿ›  Fix documentation. #158
  • v4.7.2 Changes

    ๐Ÿ”„ Changed

    • ๐Ÿ”ง Make Remote Syslog packet size configurable.