This repository has been archived by the owner on Dec 8, 2020. It is now read-only.
Releases: vectordotdev/timber-ruby
Releases · vectordotdev/timber-ruby
v2.2.0 - 13 September 2017
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
- Coerces the
vm_pid
field in theContexts::Runtime
class to aString
. This adheres to the validation requirements as defined by our log event json schema.
v2.1.8 - 25 August 2017
- Resolves a bug on Windows where the
iso8601
method would not be present on aDateTime
object.
v2.1.7 - 25 August 2017
- Updates the installer with various improvements (#136). No internal library changes were made.
v2.1.6 - 23 August 2017
- Add a simple top level public API. Ex:
Timber.with_context
andTimber.config
.
v2.1.5 - 20 August 2017
- 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
- Adds support for the new
type
andmeta
fields in theUserContext
. More info can be found here: https://github.com/timberio/log-event-json-schema/releases/tag/v3.1.1
v2.1.3 - 27 June 2017
- Resolves an issue with the installer using the deprecated
framework_type
field for applications.
v2.1.1 - 27 June 2017
- Updates exception backtrace parsing to be more defensive with unexpected formats.
v2.1.0 - 23 June 2017
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:
- All
Timber::Integrations::*
classes received aenabled=
and asilenced=
class methods. The former disables the integration entirely, the latter keeps the integration enabled but silences the logs. 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.- 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. Timber::Integrations::Rack::HTTPEvents.silence_request=
was added to provide the ability to silence noisy requests (load balancer checks).
General improvements
- 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 theREADME
. - 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.
- A lot of great doc updates. The readme has been updated as well as the library docs.
- Ensures that the Timber::Logger responds to .silence since ActiveSupport::Logger defines this.