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

Changelog History
Page 4

  • v3.1.0 Changes

    February 27, 2016

    โž• Added

    • ๐ŸŒฒ Hash only log message. Example:

    ๐Ÿ’Ž ~~~ruby logger.info message: 'Hello', metric: 'user/hello', duration: 25

    
    - ๐Ÿ’Ž APIs to make `SemanticLogger::Logger` fully compatible with the Ruby `Logger`.
        - `<<`
        - `progname`, `progname=`
        - `sev_threshold`, `sev_threshold=`
        - `formatter`
        - `datetime_format`
        - `close`
        - `reopen`
        - `add`
    - ๐Ÿ†• New Relic and Bugsnag metrics appenders.
        - Send metrics to New Relic or Bugsnag by specifying `:metric` on log entries.
    
    ### ๐Ÿ”„ Changed
    - ๐Ÿ‘ Replaced `benchmark_info` with better named `measure_info`, etc.
        - Existing `benchmark_...` methods have been retained for backward compatibilty.
    - Break out formatters into their own namespace
        - `SemanticLogger::Formatters::Color`, :color
        - `SemanticLogger::Formatters::Default`, :default
        - `SemanticLogger::Formatters::Json`, :json
    - ๐Ÿ”„ Changed `SemanticLogger.add_appender` to take hash parameters.
        - Deprecated non hash style arguments.
        - For Example:
            - `SemanticLogger.add_appender(file_name: 'development.log', formatter: :color)`
        - See [Appenders](http://rocketjob.github.io/semantic_logger/appenders.html)
        - Move AnsiColors into its own module: `SemanticLogger::AnsiColors`
    - ๐Ÿ’… Appenders now use the same hash style arguments as `SemanticLogger.add_appender`.
    - Appenders use the new common formatters where applicable.
    - ๐ŸŽ Appenders now use custom formatters as the `#call` method for better performance over blocks.
    - ๐Ÿ› Bugsnag appender will now forward `:fatal` errors, since some were being ignored and
      not being reported in Bugsnag. Changes in [Rails Semantic Logger](http://rocketjob.github.io/semantic_logger/rails.html)
      allow Rails messages to be sent correctly to Bugsnag.
    - ๐Ÿ’Ž Use Ruby's built-in JSON library
    
    ### ๐Ÿ›  Fixes
    - Elasticsearch Appender rotates through daily indexes without restart.
    
  • v3.0.0 Changes

    February 08, 2016

    โž• Added

    • ๐Ÿ†• New Elasticsearch appender.
      • Send log messages directly to Elasticsearch.
      • Viewable and searchable in kibana.
    • ๐Ÿ†• New HTTP(S) appender.
      • Use HTTP POST to forward log messages.
      • By default uses JSON format, and can be customized as needed.
    • ๐Ÿ†• New Graylog appender.
      • Use HTTP POST to forward log messages.
      • By default uses JSON format, and can be customized as needed.
    • Global settings for host and application names that are shared across all appenders:
      • SemanticLogger.host
      • SemanticLogger.application
    • JSON output formatter.

    ๐Ÿ”„ Changed

    • ๐Ÿ‘ All appenders must support :filter, and :levels
    • Syslog appender
      • Use :url instead of :server option.
      • Specify protocol in :uri now instead of separately.
        • SemanticLogger::Appender::Syslog.new(url: 'udp://myloghost:514')
    • ๐Ÿ‘ Better logic to exclude SemanticLogger from the top of the captured backtrace.
    • ๐Ÿ‘ Better error messages when soft dependencies are not present.
  • v2.21.0 Changes

    December 18, 2015

    โž• Added

    • ๐Ÿ–จ Soft load Awesome Print if present to colorize any logged Hash data.
    • fast_tag as a much faster alternative to tagged when adding just a single string to the tag list.
    • ๐ŸŽ Other performance improvements.

    ๐Ÿ›  Fixed

    • ๐ŸŒฒ Correctly log the file name and line number of the log message even when an exception stacktrace is logged.
  • v2.20.0 Changes

    ๐Ÿ”„ Changed

    • SemanticLogger::Loggable
      • Change where #logger is defined so that it can override any prior #logger methods or implementations.
      • Specifically needed to support replacing the built-in Rails loggers.
  • v2.19.0 Changes

    ๐Ÿ”„ Changed

    • SemanticLogger::Loggable
      • Add support for inheritance hierarchies so that adding to a base class will result in each child class logging with its own class name instead of the parents logger.
    • ๐Ÿ’Ž Switch from thread_safe gem to concurrent-ruby gem dependency.

    โœ‚ Removed

    • SemanticLogger::Logger#formatter

    ๐Ÿ›  Fixed

    • ๐Ÿ–จ Handle when Awesome Print fails to render Hash output.
  • v2.18.0 Changes

    November 11, 2015

    โž• Added

    • ๐Ÿ‘Œ Support logging nested exceptions, care of Brad Pardee

    ๐Ÿ”„ Changed

    • ๐Ÿ”จ Refactor Log struct into its own file.
    • โฌ‡๏ธ Reduce logging verbosity from SemanticLogger itself at :debug level.
  • v2.17.0 Changes

    โž• Added

    • ๐ŸŒฒ Log filename and line number of log messages.
      • Use SemanticLogger.backtrace_level to control when it is captured.
    • ๐Ÿ‘Œ Improved JRuby support.
      • Support Java Exceptions that do not derive from Exception

    ๐Ÿ›  Fixed

    • ๐Ÿ›ฐ Handle payloads that do not respond to #empty?
    • ๐Ÿ’Ž Suport Ruby 1.9 backtraces
  • v2.16.0 Changes

    October 25, 2015

    โž• Added

    ๐Ÿ”„ Changed

    • ๐Ÿšš Moved Semantic Logger under the Rocket Job organization.
    • โœ… Code reformatting and use MiniTest

    ๐Ÿ›  Fixed

    • ๐Ÿ›ฐ Only log the payload if it is not empty
    • โž• Add default index for Splunk appender
  • v2.15.0 Changes

    July 09, 2015

    ๐Ÿ”„ Changed

    • ๐Ÿ‘ป Refine bugsnag appender messages when sending an error message without an exception.
  • v2.14.0 Changes

    April 09, 2015

    โž• Added

    • ๐Ÿ†• New Bugsnag appender, care of Johnathan Ludwig.
      • Forward log messages to Bugsnag.

    ๐Ÿ”„ Changed

    • ๐Ÿ‘Œ Improve thread stack dump output.