- Support for logging to stderr. Fixes #24. Thanks Jan Schulte!
- Support multiple log outputs. Fixes #28. Thanks Kurt Preston!
- Support for logging to a generic IO object.
- Support for overriding IO in stdout logger. Fixes #20. Thanks Arron Mabrey!
- Support for configuring logger with a URI. See #22. Thanks Arron Mabrey!
- Support logging any object. See #23.
- Allow type to be specified as a string. Fixes #19. Thanks Arron Mabrey!
- Don't mutate options passed to LogStashLogger. Fixes #18. Thanks Arron Mabrey!
- Support for logging to a file.
- Support for logging to a Redis list.
- Support for logging to a local Unix socket.
- Railtie supports file logger, using default log path and
config.autoflush_log
configuration. - All
LogStashLogger
types now support async
option, which controls if each message is automatically flushed.
- Support for tagged logging. The interface was extracted from
ActiveSupport::TaggedLogging
and outputs to thetags
key. (Thanks pctj101!) - The
(host, port, type)
constructor has been deprecated in favor of an options hash constructor. - Support for using SSL for TCP connections. (Thanks Gary Rennie!)
- Support for configuring logger to write to STDOUT. (Thanks Nick Ethier!)
- Support for Rails configuration.
- Fixed output to STDOUT in Rails console (Rails 4+).
host
is no longer required for TCP/UDP. It will default to0.0.0.0
, the same default port that logstash listens on.- Changed event key
source
tohost
to match what the latest logstash expects. - Output event timestamp consistently even if
Time#to_json
is overridden. - Major refactoring which will lead the way to support other log types.
- Fixed support for
LogStash::Event
v1 format when logging a hash. Extra data now goes to the top level instead of into the@fields
key.
- Support for new
LogStash::Event
v1 format. v0 is supported in 0.3+.
- Added support for logging to a UDP listener.
- Fixed to use Logstash's default time format for timestamps.
- Better use of Ruby Logger's built-in LogDevice.
- Initial release. Support for logging to a TCP listener.