zuora_observability 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zuora_observability/engine.rb +3 -1
- data/lib/zuora_observability/version.rb +1 -1
- metadata +2 -5
- data/app/jobs/zuora_observability/application_job.rb +0 -4
- data/app/mailers/zuora_observability/application_mailer.rb +0 -6
- data/app/models/zuora_observability/application_record.rb +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0e155a0e3bb9beba95eb17b57654ffc4bc6fde8d8e0ca5f54e959d250cd4ab6
|
4
|
+
data.tar.gz: 956004414ccfdaa6e573ed14d860e16090132303ff90827046408d579c2dda66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c566069bcbf86de2b356e01a636ee80183c3ce6347d99079f2bdb4413cc74fe9f758b5ecb0ecb34e09544d907b0a4d87ad8ddf71dcc97e5eb56df4a946d31973
|
7
|
+
data.tar.gz: 40a4ed48db44723973b7c1fcb3914d4c0b0fb76058379be879d0dab96e07487e7e1fc990aff841415bd229d1129cbec1c4fdef24f933570b6ffb32c8b440d3c0
|
@@ -11,10 +11,12 @@ module ZuoraObservability
|
|
11
11
|
|
12
12
|
initializer(:rails_stdout_logging, before: :initialize_logger) do
|
13
13
|
Rails.application.configure do
|
14
|
-
config.logger =
|
14
|
+
config.logger = ZuoraObservability::Logger.custom_logger(name: 'Rails')
|
15
15
|
|
16
16
|
next unless ZuoraObservability.configuration.json_logging
|
17
17
|
|
18
|
+
config.logger = ActiveSupport::TaggedLogging.new(config.logger)
|
19
|
+
|
18
20
|
require 'lograge'
|
19
21
|
require 'zuora_observability/logging/custom_options'
|
20
22
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zuora_observability
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hartley McGuire
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lograge
|
@@ -247,9 +247,6 @@ files:
|
|
247
247
|
- app/controllers/zuora_observability/application_controller.rb
|
248
248
|
- app/controllers/zuora_observability/metrics_controller.rb
|
249
249
|
- app/helpers/zuora_observability/application_helper.rb
|
250
|
-
- app/jobs/zuora_observability/application_job.rb
|
251
|
-
- app/mailers/zuora_observability/application_mailer.rb
|
252
|
-
- app/models/zuora_observability/application_record.rb
|
253
250
|
- app/views/layouts/zuora_observability/application.html.erb
|
254
251
|
- config/initializers/loggers.rb
|
255
252
|
- config/initializers/tagged_logging.rb
|