semantic_logger 2.6.0 → 2.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/semantic_logger/appender/base.rb +1 -1
- data/lib/semantic_logger/logger.rb +1 -0
- data/lib/semantic_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: 57d9f8129cdac0b2d839354b15da27622c0726a4
|
4
|
+
data.tar.gz: ada6c3c38029da4532ca51f2c5a5f7234f1e1d00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8af90aa234d643efa2ba2a2e26d4c41be20af8b9621d570513e4715061af5d816e005c1d2c3c740a5f5b018b48defff44c259c1d8b3214abdfdea97fa5bbe2d
|
7
|
+
data.tar.gz: 4bde8f95c0524a4b10b1ce800435ea796016d18a923fcdcd9d7e01b32e965c4f34c5703ce81bbab6b5208141f21a46cecb10fcf757d10cc53afac60ec9eecc9b
|
@@ -40,7 +40,7 @@ module SemanticLogger
|
|
40
40
|
|
41
41
|
duration_str = log.duration ? "(#{'%.1f' % log.duration}ms) " : ''
|
42
42
|
|
43
|
-
"#{SemanticLogger::Appender::Base.formatted_time(log.time)} #{log.level.to_s[0..0].upcase} [#{$$}:#{'%.
|
43
|
+
"#{SemanticLogger::Appender::Base.formatted_time(log.time)} #{log.level.to_s[0..0].upcase} [#{$$}:#{'%.50s' % log.thread_name}] #{tags}#{duration_str}#{log.name} -- #{message}"
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
@@ -154,6 +154,7 @@ module SemanticLogger
|
|
154
154
|
#
|
155
155
|
# Should any appender fail to log or flush, the exception is logged and
|
156
156
|
# other appenders will still be called
|
157
|
+
Thread.current.name = "SemanticLogger::AppenderThread"
|
157
158
|
logger.debug "V#{VERSION} Appender thread active"
|
158
159
|
begin
|
159
160
|
count = 0
|
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: 2.6.
|
4
|
+
version: 2.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: 2013-12-
|
11
|
+
date: 2013-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sync_attr
|