Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Releases: vectordotdev/timber-ruby

v2.2.0 - 13 September 2017

13 Sep 17:09
Compare
Choose a tag to compare

Changed

  • The default HTTP log device queue type was switched to a
    Timber::LogDevices::HTTP::FlushableDroppingSizedQueue instead of a ::SizedQueue. In the
    event of extremely high volume logging, and delivery cannot keep up, Timber will drop messages
    instead of applying back pressure.

v2.1.10 - 29 August 2017

29 Aug 21:04
Compare
Choose a tag to compare
  • Coerces the vm_pid field in the Contexts::Runtime class to a String. This adheres to the validation requirements as defined by our log event json schema.

v2.1.8 - 25 August 2017

25 Aug 19:08
Compare
Choose a tag to compare
  • Resolves a bug on Windows where the iso8601 method would not be present on a DateTime object.

v2.1.7 - 25 August 2017

25 Aug 18:51
Compare
Choose a tag to compare
  • Updates the installer with various improvements (#136). No internal library changes were made.

v2.1.6 - 23 August 2017

23 Aug 16:34
Compare
Choose a tag to compare
  • Add a simple top level public API. Ex: Timber.with_context and Timber.config.

v2.1.5 - 20 August 2017

20 Aug 17:21
Compare
Choose a tag to compare
  • Fixes an issue when instantiating a ::Timber::Logger with multiple log devices, when one of them is the HTTP device. This is very edge case (for clients that want to send logs over HTTP and write to a file).

v2.1.4 - 16 August 2017

16 Aug 21:29
Compare
Choose a tag to compare

v2.1.3 - 27 June 2017

14 Aug 20:09
Compare
Choose a tag to compare
  • Resolves an issue with the installer using the deprecated framework_type field for applications.

v2.1.1 - 27 June 2017

28 Jun 00:39
Compare
Choose a tag to compare
  • Updates exception backtrace parsing to be more defensive with unexpected formats.

v2.1.0 - 23 June 2017

28 Jun 00:38
Compare
Choose a tag to compare

This update introduces a lot of great new configuration options and performance improvements:

Configuration options

The README has been updated to include a configuration section. This demonstrates common configuration setups. You can also view the Timber::Config class for a full list of options. Here's the high level overview:

  1. All Timber::Integrations::* classes received a enabled= and a silenced= class methods. The former disables the integration entirely, the latter keeps the integration enabled but silences the logs.
  2. Timber::Integrations::Rack::HTTPEvents now has a .collapse_into_single_event= method that will only log the response log instead of both the request and response.
  3. A convenience Timber::Config.instance.logrageify! method was added that automatically silences the appropriate logs to behave similarly to lograge. It uses the above settings to do so.
  4. Timber::Integrations::Rack::HTTPEvents.silence_request= was added to provide the ability to silence noisy requests (load balancer checks).

General improvements

  1. The Timber::Contexts::Release context was added and it will automatically set itself if the proper environment variables are set. You can see an example in the configuration section of the README.
  2. The installer was completely reworked and received a number of great improvements, notably the support for multiple environments, avoiding the need to run the installer multiple times.
  3. A lot of great doc updates. The readme has been updated as well as the library docs.
  4. Ensures that the Timber::Logger responds to .silence since ActiveSupport::Logger defines this.