semantic_logger 0.11.3 → 0.11.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -210,7 +210,12 @@ module SemanticLogger
210
210
  end
211
211
  end
212
212
  rescue Exception => exception
213
- logger.error "Appender thread restarting due to exception", exception
213
+ # This block may be called after the file handles have been released by Ruby
214
+ begin
215
+ logger.error "Appender thread restarting due to exception", exception
216
+ rescue Exception
217
+ nil
218
+ end
214
219
  retry
215
220
  ensure
216
221
  @@appender_thread = nil
@@ -1,3 +1,3 @@
1
1
  module SemanticLogger #:nodoc
2
- VERSION = "0.11.3"
2
+ VERSION = "0.11.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semantic_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.3
4
+ version: 0.11.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-31 00:00:00.000000000 Z
12
+ date: 2012-11-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sync_attr
@@ -108,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
108
  version: '0'
109
109
  segments:
110
110
  - 0
111
- hash: -3004571273637428980
111
+ hash: 3605629782528849560
112
112
  required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  none: false
114
114
  requirements: