semantic_logger 2.13.0 → 2.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/semantic_logger/semantic_logger.rb +2 -2
- 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: 4d1b60df19e53352219ff825835d2d5c804c1733
|
4
|
+
data.tar.gz: 936f580069648c8b91d5f3c589671649da3fc726
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b10df7ef8e1561f90f7f07c3f427cd63b90be885fe1b45f5d01c4a78b01dadda2040e416bd7dfc77d409815505ee0394ee2f47e9a1c4fbfaed495b9c9b3b835c
|
7
|
+
data.tar.gz: 10444abc156d65cd7cab0a788bc5f311b0e1751ec8bf96761ce89d759d9521f91f17b12ea0332f98fd7e247560afba7435fdbf7a9ffaae9461484ebacaef3406
|
@@ -181,13 +181,13 @@ module SemanticLogger
|
|
181
181
|
# Thread.current.name = 'My Worker'
|
182
182
|
#
|
183
183
|
# Also adds JRuby Garbage collection logging so that any garbage collections
|
184
|
-
# that exceed the time threshold will be logged. Default:
|
184
|
+
# that exceed the time threshold will be logged. Default: 100 ms
|
185
185
|
# Currently only supported when running JRuby
|
186
186
|
#
|
187
187
|
# Note:
|
188
188
|
# To only register one of the signal handlers, set the other to nil
|
189
189
|
# Set gc_log_microseconds to nil to not enable JRuby Garbage collections
|
190
|
-
def self.add_signal_handler(log_level_signal='USR2', thread_dump_signal='TTIN', gc_log_microseconds=
|
190
|
+
def self.add_signal_handler(log_level_signal='USR2', thread_dump_signal='TTIN', gc_log_microseconds=100000)
|
191
191
|
Signal.trap(log_level_signal) do
|
192
192
|
index = (default_level == :trace) ? LEVELS.find_index(:error) : LEVELS.find_index(default_level)
|
193
193
|
new_level = LEVELS[index-1]
|
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.13.
|
4
|
+
version: 2.13.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: 2015-02-
|
11
|
+
date: 2015-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sync_attr
|