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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 829b38191d8058cc50bd558cc22e5af6a10d61d5
4
- data.tar.gz: b4c7d0fca2c607da3c0804d63b856c62034026ac
3
+ metadata.gz: 57d9f8129cdac0b2d839354b15da27622c0726a4
4
+ data.tar.gz: ada6c3c38029da4532ca51f2c5a5f7234f1e1d00
5
5
  SHA512:
6
- metadata.gz: cbafd799f1667daf4465c482811bde21bfbeae462d6db1c0c5bdebee1b9a4118b933c435134fc9b5ff76e7a84fdf481450fd33ad47c304ec6d0150a171263b16
7
- data.tar.gz: 9b7dff017d6e41e465000f363d43c839cfeccbc5c23636078f92dc1605c154bcdbef5f12f3d5f5e0d098fd6c818f4bc5ae09a78ba4691f6001becefb7cab106c
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} [#{$$}:#{'%.30s' % log.thread_name}] #{tags}#{duration_str}#{log.name} -- #{message}"
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
@@ -1,3 +1,3 @@
1
1
  module SemanticLogger #:nodoc
2
- VERSION = "2.6.0"
2
+ VERSION = "2.6.1"
3
3
  end
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.0
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-10 00:00:00.000000000 Z
11
+ date: 2013-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sync_attr