All Versions
67
Latest Version
Avg Release Cycle
60 days
Latest Release
-
Changelog History
Page 4
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')
- Use
- ๐ Better logic to exclude SemanticLogger from the top of the captured backtrace.
- ๐ Better error messages when soft dependencies are not present.
- ๐ New Elasticsearch appender.
-
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 totagged
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.
- Change where
-
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 toconcurrent-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.
- Use
- ๐ Improved JRuby support.
- Support Java Exceptions that do not derive from
Exception
- Support Java Exceptions that do not derive from
๐ Fixed
- ๐ฐ Handle payloads that do not respond to
#empty?
- ๐ Suport Ruby 1.9 backtraces
- ๐ฒ Log filename and line number of log messages.
-
v2.16.0 Changes
October 25, 2015โ Added
- ๐จ Use Awesome Print to colorize
Hash output, when available.
- Thanks to Karim Kiatlottiavi
๐ Changed
- ๐ Moved Semantic Logger under the Rocket Job organization.
- โ Code reformatting and use MiniTest
๐ Fixed
- ๐ฐ Only log the payload if it is not empty
- Thanks to Ben Fagin
- โ Add default index for Splunk appender
- Thanks to Zach Taylor
- ๐จ Use Awesome Print to colorize
Hash output, when available.
-
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.
- ๐ New Bugsnag appender, care of Johnathan Ludwig.