logstash-logger 0.10.1 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +1 -0
- data/lib/logstash-logger/formatter.rb +3 -5
- data/lib/logstash-logger/version.rb +1 -1
- 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: fab14d9b4a0659c6e51012c5e3a48b80f76eeb2f
|
4
|
+
data.tar.gz: 9038880300cacd6917f1f9910a46cec603a8bcbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4143b7b206ed3e13c774c44d749544ac455a73b3cafaf845baa4b84c6dc27e0a49b157c2c0f29344c0488a2734beb3a5557f4c9be0afa92a123bd7e1f63b5ab1
|
7
|
+
data.tar.gz: 250480625ad0520d6e86b78dda4c64b36c235e0d3ff4fbd6467dd7895f0eb5338eb8a407665b4a0dbc691cf9918088036db443d4c9137b5c4df37ef8dad6e63e
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
## 0.10.2
|
2
|
+
- Fix for Custom Events can't access tags from Tagged Logging
|
3
|
+
Fixes [#48](https://github.com/dwbutler/logstash-logger/issues/48).
|
4
|
+
Thanks [Anil Rhemtulla](https://github.com/AnilRh)!
|
5
|
+
|
1
6
|
## 0.10.1
|
2
7
|
- Fix for Redis URI parsing issue.
|
3
8
|
Fixes [#41](https://github.com/dwbutler/logstash-logger/issues/41).
|
data/README.md
CHANGED
@@ -416,6 +416,7 @@ logger = LogStashLogger.new('localhost', 5228, :tcp)
|
|
416
416
|
* [Chris Blatchley](https://github.com/chrisblatchley)
|
417
417
|
* [Felix Bechstein](https://github.com/felixb)
|
418
418
|
* [Vadim Kazakov](https://github.com/yads)
|
419
|
+
* [Anil Rhemtulla](https://github.com/AnilRh)
|
419
420
|
|
420
421
|
## Contributing
|
421
422
|
|
@@ -36,17 +36,15 @@ module LogStashLogger
|
|
36
36
|
|
37
37
|
event['host'] ||= HOST
|
38
38
|
|
39
|
+
current_tags.each { |tag| event.tag(tag) }
|
40
|
+
|
39
41
|
LogStashLogger.configuration.customize_event_block.call(event) if LogStashLogger.configuration.customize_event_block.respond_to?(:call)
|
40
42
|
|
41
|
-
current_tags.each do |tag|
|
42
|
-
event.tag(tag)
|
43
|
-
end
|
44
|
-
|
45
43
|
# In case Time#to_json has been overridden
|
46
44
|
if event.timestamp.is_a?(Time)
|
47
45
|
event.timestamp = event.timestamp.iso8601(3)
|
48
46
|
end
|
49
|
-
|
47
|
+
|
50
48
|
event
|
51
49
|
end
|
52
50
|
end
|
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.10.
|
4
|
+
version: 0.10.2
|
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-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstash-event
|