fluent-plugin-remote_syslog 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5179d40ceead1e1bb25e858dfd2b0dedbe4e9cb
4
- data.tar.gz: 8d3ba77a4b1d7f59c2214ccf82cc19f3e833901b
3
+ metadata.gz: 5cfd7384704b75fef6c379506ad00bd2556dfcb6
4
+ data.tar.gz: 9df4ff109259582a6ce45684ee26e1297b3fe8f4
5
5
  SHA512:
6
- metadata.gz: 90968580bcdc9b5bf928f6aab35f867aa6d749fad5e8fb7163333cad5825d71bfc874bad771dea62b7ce8eae0d99c0a7887b03d00f405677abdada4261b7710b
7
- data.tar.gz: 9ea571f77eac590be9e31d7c478e15002c5fde3efbe1d130fb4033ad103fef1522fd94655e9bf5f2b47481390ed916b19a50b110db0e66f4d8a59a8c50c66bf3
6
+ metadata.gz: 698c42dcefb20f4866e89d09cf1f5601cac77d34c4e4748d05b35c8f7846d6d47cd53fbcaffafa821f5c76e74f15442c4c827cb53edc7af02ae86383de95f6d3
7
+ data.tar.gz: 15b23fc23fc097e8be9fdf4e9ff4028754e5c600041c512b68b5db820f9de4b07edf937d34c0c3fd2aba8959a36737b8600bbfd6bc1799b66d123f46be63dffc
@@ -2,9 +2,9 @@ language: ruby
2
2
  sudo: false
3
3
  cache: bundler
4
4
  rvm:
5
- - 2.0.0
6
- - 2.1.8
7
- - 2.2.4
8
- - 2.3.0
5
+ - 2.1.10
6
+ - 2.2.5
7
+ - 2.3.1
8
+ - 2.4.1
9
9
  before_install:
10
10
  - gem update bundler
@@ -1,3 +1,12 @@
1
+ ## 0.3.3
2
+
3
+ * Allow override "severity" or "facility" from records [#19](https://github.com/dlackty/fluent-plugin-remote_syslog/pull/19)
4
+ * Change default port to 514 [#15](https://github.com/dlackty/fluent-plugin-remote_syslog/pull/15)
5
+
6
+ ## 0.3.2
7
+
8
+ * Rewrite plugin to make rewrite tag function work properly [#4](https://github.com/dlackty/fluent-plugin-remote_syslog/pull/4)
9
+
1
10
  ## 0.3.1
2
11
 
3
12
  * Fix errors in last release [#3](https://github.com/dlackty/fluent-plugin-remote_syslog/pull/3)
data/README.md CHANGED
@@ -16,9 +16,9 @@
16
16
  <match foo>
17
17
  type remote_syslog
18
18
  host example.com
19
- port 25
19
+ port 514
20
20
  severity debug
21
- program fluentd
21
+ tag fluentd
22
22
  </match>
23
23
  ```
24
24
 
@@ -26,4 +26,4 @@ This plugin makes use of [Fluent::Mixin::PlainTextFormatter](https://github.com/
26
26
 
27
27
  ## License
28
28
 
29
- Copyright (c) 2014-2015 Richard Lee. See LICENSE for details.
29
+ Copyright (c) 2014-2017 Richard Lee. See LICENSE for details.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.2
1
+ 0.3.3
@@ -14,7 +14,7 @@ module Fluent
14
14
  include Fluent::Mixin::RewriteTagName
15
15
 
16
16
  config_param :host, :string
17
- config_param :port, :integer, :default => 25
17
+ config_param :port, :integer, :default => 514
18
18
 
19
19
  config_param :facility, :string, :default => "user"
20
20
  config_param :severity, :string, :default => "notice"
@@ -43,8 +43,8 @@ module Fluent
43
43
  tag = rewrite_tag!(tag.dup)
44
44
  @loggers[tag] ||= RemoteSyslogLogger::UdpSender.new(@host,
45
45
  @port,
46
- facility: @facility,
47
- severity: @severity,
46
+ facility: record["facility"] || @facility,
47
+ severity: record["severity"] || @severity,
48
48
  program: tag,
49
49
  local_hostname: @hostname)
50
50
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-remote_syslog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Lee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-08 00:00:00.000000000 Z
11
+ date: 2017-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  version: '0'
162
162
  requirements: []
163
163
  rubyforge_project:
164
- rubygems_version: 2.4.5.1
164
+ rubygems_version: 2.6.10
165
165
  signing_key:
166
166
  specification_version: 4
167
167
  summary: Fluentd output plugin for remote syslog