- Include ActiveSupport::LoggerSilence if available
-
Default to using
ActiveSupport::Logger::SimpleFormatter
-
Log the request id by default and add docs about Rails log tags
-
Fix threaded buffering status
Previously the
buffering
status was being set as an instance variable, which meant that even though threaded buffers were separate, threaded usage could change thebuffering
status for a different thread.For threaded web servers this meant that logs were not lost but they also were not buffered properly.
For manual threads inside of a single request (e.g. using
Thread.new
) this could cause logs to be lost.
- Improve mutex handling
- Add a
default_transform
property
- Fix for multiple sequential logdev switches
- Only close logdevs that we opened
- No functionality updates
- No functionality updates
-
BufferingLogger::Railtie now allows supplying a custom log device.
-
Log transforms. You can now supply transforms to modify the buffered contents before flushing them to the log device.
-
'buffering_logger/rails' has been deprecated. Instead, require 'buffering_logger/railtie' and call 'BufferingLogger::Railtie.install'.
-
BufferingLogger is now thread-safe.
-
Remove nested buffering support.
This added complexity and shouldn't really be needed.
-
Fix encoding issue
If the lines of a log have different encodings and those encodings are not automatically joinable by Ruby then Ruby would raise an
Encoding::CompatibilityError
.
- Initial Release