logstash-logger 0.15.0 → 0.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/logstash-logger/multi_logger.rb +1 -1
- data/lib/logstash-logger/version.rb +1 -1
- data/spec/multi_logger_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a8e0734bd0348fee64e87295adae22937832106
|
4
|
+
data.tar.gz: e6043bd7112766230e8af2089573a71e924dcdd6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 775468f1606a51ca0379dd19daddb4171ca3eb69b39dea2e8ec5617758e7aad53c4ca687d14258f6afb310b10076b705ea43fb683bdfa16202c1f2fae1a59a83
|
7
|
+
data.tar.gz: 86eff3cd6e4b0193d312a5458fde4a17b2048868e249e6b6e58603cf3c46d243742b1ea31362ad7d059543faee4bd9aa36ecc7b468d23f27c174204d7652900f
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
## 0.15.1
|
2
|
+
- Fixes MultiLogger overriding each logger with the default formatter. [#61](https://github.com/dwbutler/logstash-logger/issues/61)
|
3
|
+
|
1
4
|
## 0.15.0
|
2
5
|
- Adds buffering and automatic retry support for all connectable outputs. [#35](https://github.com/dwbutler/logstash-logger/pull/35)
|
3
6
|
|
data/spec/multi_logger_spec.rb
CHANGED
@@ -18,8 +18,8 @@ describe LogStashLogger::MultiLogger do
|
|
18
18
|
end
|
19
19
|
|
20
20
|
it "allows a different formatter for each logger" do
|
21
|
-
expect(subject.loggers[0].formatter).to
|
22
|
-
expect(subject.loggers[1].formatter).to
|
21
|
+
expect(subject.loggers[0].formatter.class).to eq ::Logger::Formatter
|
22
|
+
expect(subject.loggers[1].formatter.class).to eq LogStashLogger::Formatter::JsonLines
|
23
23
|
end
|
24
24
|
|
25
25
|
it "logs to all loggers" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Butler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstash-event
|