semantic_logger 4.6.0 → 4.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/semantic_logger/appenders.rb +4 -4
- data/lib/semantic_logger/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22f95d79aaeb38befe2e1c242063464be93f05d16eed7cf17540256c1064f7b2
|
4
|
+
data.tar.gz: 2ae7b4e00a4415c88d66afd552c4fa03e68dcf2d354994bfe98621d0e08bcdd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc5bd0ce964de270119c5ef3bcab46c8178eb7120c5ad76afd99c0f5c1acbe4d7011eaf88c4d983e943d1e25f09baffd803121cba5a580be168ac874f09e539e
|
7
|
+
data.tar.gz: 0e64868d3f9363007114fce5c10ced420282edd098816df92e60da755c380434fe42075b5be3ebcb8ca03ff2b8746681a30317e33b88563bd2e3af5579ad9b4f
|
data/README.md
CHANGED
@@ -76,7 +76,7 @@ and are therefore not automatically included by this gem:
|
|
76
76
|
## V4 Upgrade notes
|
77
77
|
|
78
78
|
The following changes need to be made when upgrading to V4:
|
79
|
-
- Ruby V2.
|
79
|
+
- Ruby V2.3 / JRuby V9.1 is now the minimum runtime version.
|
80
80
|
- Replace calls to Logger#with_payload with SemanticLogger.named_tagged.
|
81
81
|
- Replace calls to Logger#payload with SemanticLogger.named_tags.
|
82
82
|
- MongoDB Appender requires Mongo Ruby Client V2 or greater.
|
@@ -19,7 +19,7 @@ module SemanticLogger
|
|
19
19
|
begin
|
20
20
|
appender.log(log) if appender.should_log?(log)
|
21
21
|
rescue Exception => exc
|
22
|
-
logger.error "Failed to log to appender: #{appender.
|
22
|
+
logger.error "Failed to log to appender: #{appender.name}", exc
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|
@@ -30,7 +30,7 @@ module SemanticLogger
|
|
30
30
|
logger.trace "Flushing appender: #{appender.name}"
|
31
31
|
appender.flush
|
32
32
|
rescue Exception => exc
|
33
|
-
logger.error "Failed to flush appender: #{appender.
|
33
|
+
logger.error "Failed to flush appender: #{appender.name}", exc
|
34
34
|
end
|
35
35
|
end
|
36
36
|
logger.trace 'All appenders flushed'
|
@@ -44,7 +44,7 @@ module SemanticLogger
|
|
44
44
|
appender.close
|
45
45
|
delete(appender)
|
46
46
|
rescue Exception => exc
|
47
|
-
logger.error "Failed to close appender: #{appender.
|
47
|
+
logger.error "Failed to close appender: #{appender.name}", exc
|
48
48
|
end
|
49
49
|
end
|
50
50
|
logger.trace 'All appenders closed and removed from appender list'
|
@@ -59,7 +59,7 @@ module SemanticLogger
|
|
59
59
|
logger.trace "Reopening appender: #{appender.name}"
|
60
60
|
appender.reopen
|
61
61
|
rescue Exception => exc
|
62
|
-
logger.error "Failed to re-open appender: #{appender.
|
62
|
+
logger.error "Failed to re-open appender: #{appender.name}", exc
|
63
63
|
end
|
64
64
|
end
|
65
65
|
logger.trace 'All appenders re-opened'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: semantic_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.6.
|
4
|
+
version: 4.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Reid Morrison
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
106
|
- !ruby/object:Gem::Version
|
107
107
|
version: '0'
|
108
108
|
requirements: []
|
109
|
-
rubygems_version: 3.0.
|
109
|
+
rubygems_version: 3.0.6
|
110
110
|
signing_key:
|
111
111
|
specification_version: 4
|
112
112
|
summary: Feature rich logging framework, and replacement for existing Ruby & Rails
|