logjam_agent 0.34.0 → 0.34.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logjam_agent/sinatra.rb +1 -1
- data/lib/logjam_agent/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3be471be7625d64f757437409b251fbf4c60832e64f3d487a7c7b604287d146c
|
4
|
+
data.tar.gz: '064602183035e66df6a8c4d61f79e1ae538d1be8a86e18400ac32dee485d0ad4'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79c6c263075ca07cf8e6b734c2034730745bdebd6c1183dad9628b87ca3e796b1a5717a480eedd8c3ae4fafe33da9b85f6c2475da8f99802fbc9f6692a8d05ce
|
7
|
+
data.tar.gz: 2cbe571005ac31cc5c2b709e83fd13141a0e5fdee4c665e2f0336641a57b874857b695063bc88e0c98ddcb7b5f65b24cee3f4355f29ba188b3226cf3c2fce8d4
|
data/lib/logjam_agent/sinatra.rb
CHANGED
@@ -38,7 +38,7 @@ module LogjamAgent
|
|
38
38
|
LogjamAgent.log_device_log_level = logger.level
|
39
39
|
LogjamAgent.log_device_log_level = ::Logger::ERROR unless %i[test development].include?(settings.environment.to_sym)
|
40
40
|
|
41
|
-
logger.formatter =
|
41
|
+
logger.formatter = settings.respond_to?(:logformatter) ? settings.logformatter : Logger::Formatter.new
|
42
42
|
logger = ActiveSupport::TaggedLogging.new(logger)
|
43
43
|
LogjamAgent.logger = logger
|
44
44
|
ActiveSupport::LogSubscriber.logger = logger
|
data/lib/logjam_agent/version.rb
CHANGED