From 637245d836b74c30335a070e36aa276019c2bb0e Mon Sep 17 00:00:00 2001 From: Holger Just Date: Tue, 11 Jul 2017 23:43:48 +0200 Subject: [PATCH] Don't detail other adapters in IO adapter documentation --- lib/rackstash/adapters/io.rb | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/lib/rackstash/adapters/io.rb b/lib/rackstash/adapters/io.rb index a849853..61a202d 100644 --- a/lib/rackstash/adapters/io.rb +++ b/lib/rackstash/adapters/io.rb @@ -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) }