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

v2.1.0.rc1 - 1 June 2017

Compare
Choose a tag to compare
@binarylogic binarylogic released this 01 Jun 22:13
· 185 commits to master since this release

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.