All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Improve CI pipeline
- Support for rails 7.1
- Support open-telemetry and add trace_id and span_id to logs events
- Support for sidekiq 7
- Fix compatibility with sidekiq 6.4.1
- Allow using the gem with rails 7
- Add a build for ruby 3.0
- Remove build for ruby 2.3
- Remove state from Rack middleware, to prevent race conditions where one request would overwrite the state of another
- Support for sidekiq 6 - previous versions were causing sidekiq to crash with
Internal exception!
- Support for sidekiq 6
- Fixed a long standing bug that would mask exceptions raised by the host application when serving requests. The original exception would be replaced with a
TypeError
one due to a HTTP status code not being available withinLoga::Rack::Logger
.
- Add support for rails 6
duration
in thesidekiq
integration is now calculated correctly
- Add build for ruby 2.6
- Remove build for ruby 2.2
New configuration option hide_pii
which defaults to true
to hide email addresses in logs that get generate when an email is sent through action_mailer
Support for Sidekiq ~> 5.0
.
Subscribe to ActionMailer
events
- deliver
- process
- receive
2.1.2 - 2016-12-08
Loga::Rack::Logger
looks intoenv['rack.exception']
for exceptions
2.1.1 - 2016-12-02
- Encoding error when converting uploaded file to JSON rails/rails#25250
2.1.0 - 2016-11-17
- Replace
ActiveSupport::Logger::SimpleFormatter
withLoga::Formatters::SimpleFormatter
when using simple format. The formatter adds level, timestamp, pid and tags prepended to the message
2.0.0 - 2016-10-27
- Human readable formatter
SimpleFormatter
LOGA_FORMAT
environment variable to switch between (gelf|simple) formatters- Added
format
andfilter_exceptions
configuration options
- Configure via Hash instead of Block
- String only
service_version
configuration option
- Use Loga everywhere with environment based configuration
- Added
ActiveRecord::RecordNotFound
to defaultfilter_exceptions
- Removed
enabled
andsilence_rails_rack_logger
configure options - Enforce Rails configuration options over Loga where possible
- Removed logger and tags parameters in
Loga::Rack::Logger
- Uninitialized
Loga.logger
in Rails
1.4.0 - 2016-09-13
- Rails 5 support
- Silence ActionController::LogSubscriber
- Update GELF payload to include
_request.controller
when available (Rails Controller/Action)
1.3.0 - 2016-09-07
- Silence ActionDispatch::DebugExceptions' logger