Skip to content

Commit bd3fbb5

Browse files
committed
Mark data_timeout as obsolete
Fixes: #31 Fixes #32
1 parent 27ee8f6 commit bd3fbb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/logstash/inputs/log4j.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ class LogStash::Inputs::Log4j < LogStash::Inputs::Base
4444
# Read timeout in seconds. If a particular TCP connection is
4545
# idle for more than this timeout period, we will assume
4646
# it is dead and close it.
47-
# If you never want to timeout, use -1.
48-
config :data_timeout, :validate => :number, :default => 5
47+
# If you never want to timeout, use -1.,
48+
config :data_timeout, :validate => :number, :default => 5, :obsolete => "This option no longer necessary, the input will now keep the connection open."
4949

5050
# Mode to operate in. `server` listens for client connections,
5151
# `client` connects to a server.

0 commit comments

Comments
 (0)