Skip to content

Commit c419ead

Browse files
committed
mark deprecated option message_format as obsolete
1 parent 7547bca commit c419ead

File tree

4 files changed

+5
-22
lines changed

4 files changed

+5
-22
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 5.0.0
2+
- Breaking: mark deprecated option `message_format` as obsolete
3+
14
## 4.0.0
25
- Remove deprecated `workers_not_supported` call
36
- Use concurrency :single

docs/index.asciidoc

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,6 @@ output plugins.
6262
When mode is `server`, the address to listen on.
6363
When mode is `client`, the address to connect to.
6464

65-
[id="plugins-{type}s-{plugin}-message_format"]
66-
===== `message_format` (DEPRECATED)
67-
68-
* DEPRECATED WARNING: This configuration item is deprecated and may not be available in future versions.
69-
* Value type is <<string,string>>
70-
* There is no default value for this setting.
71-
72-
The format to use when writing events to the file. This value
73-
supports any string and can include `%{name}` and other dynamic
74-
strings.
75-
76-
If this setting is omitted, the full json representation of the
77-
event will be written as a single line.
78-
7965
[id="plugins-{type}s-{plugin}-mode"]
8066
===== `mode`
8167

lib/logstash/outputs/tcp.rb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,7 @@ class LogStash::Outputs::Tcp < LogStash::Outputs::Base
5151
# SSL key passphrase
5252
config :ssl_key_passphrase, :validate => :password, :default => nil
5353

54-
# The format to use when writing events to the file. This value
55-
# supports any string and can include `%{name}` and other dynamic
56-
# strings.
57-
#
58-
# If this setting is omitted, the full json representation of the
59-
# event will be written as a single line.
60-
config :message_format, :validate => :string, :deprecated => true
54+
config :message_format, :validate => :string, :obsolete => "This setting is obsolete. The event will be formatted according to the codec used"
6155

6256
class Client
6357
public

logstash-output-tcp.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Gem::Specification.new do |s|
22

33
s.name = 'logstash-output-tcp'
4-
s.version = '4.0.1'
4+
s.version = '5.0.0'
55
s.licenses = ['Apache License (2.0)']
66
s.summary = "Write events over a TCP socket."
77
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"

0 commit comments

Comments
 (0)