1
0
mirror of https://github.com/meineerde/rackstash.git synced 2026-02-01 01:37:12 +00:00

Don't detail other adapters in IO adapter documentation

This commit is contained in:
Holger Just 2017-07-11 23:43:48 +02:00
parent ee429fa71e
commit 637245d836

View File

@ -26,14 +26,9 @@ module Rackstash
# combined `STDOUT` stream of multiple processes can cause interleaved data
# when writing large log lines (typically > 4 KB). If you are using such a
# deployment model and expect large log lines, you should consider using a
# different adapter to ensure consistent logs.
#
# Suitable adapters include:
#
# * {Rackstash::Adapters::File} - When writing to a file, we ensure with
# explicit file locks that all data is written consistently.
# * {Rackstash::Adapters::TCP} - With a single TCP connection per adapter
# instance, the receiver can handle the log lines separately.
# different adapter to ensure consistent logs. Suitable adapters for this
# use-case include {Rackstash::Adapters::File} or
# {Rackstash::Adapters::TCP}.
class IO < Adapter
register_for ->(o) { o.respond_to?(:write) && o.respond_to?(:close) }