scout_apm_logging 1.0.1 → 1.0.2

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
  SHA256:
3
- metadata.gz: 3ae2b293e0878164b8284f41eccec9b5b803fd5af2f2a8097730b82ef96233f1
4
- data.tar.gz: aefbee4c67841da49a9feed784e285225d35c2af4d03bc8390e26699b337b2a8
3
+ metadata.gz: afcb7b1b21954bcc8aa6e38f041242aa9afe2c50f655a9c354d122831cc0e1de
4
+ data.tar.gz: e9faac3383fa04b28cc0a6de9768faa07b9494ffbbb07c98b78bab3a844b52b0
5
5
  SHA512:
6
- metadata.gz: 7f956d681958cedf5ca9ed0fe4b943682b3146161ed1182342c3b3e4638d93f2c9fc25d748874965acaa662e53326901db84c4bdf4256e952cc7f02e2a8ed1c7
7
- data.tar.gz: 226a90d6cf105b4848e446bc14d6d1da1335cbb734ec360f8d5414c4768f12e02b3e9db7ace44a18fa726623bdf04a212f032dd93c1649c3b12f0db2d005d283
6
+ metadata.gz: abbe727706a4a894d9b2ef97b64139b06d84aaf80e6401c0d76fdc826fef6bd76fdc511775f7f62e461d5da92b0bc7c33fc2abf2da5d8b3b14a4cb9279239301
7
+ data.tar.gz: d76bdec91584f94090fbe84ed697b4530d2a5fd9191a9b5fdc9b7b93e21a6d483ef34a7e3759788efc48a9af137d6c29b6b9c632f6e69f5d1b5cc4c4357c9e98
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.0.2
2
+ * Fix / Re-add logging of configuration values on startup.
3
+ * Remove raw_bytes from payload.
4
+
1
5
  ## 1.0.1
2
6
  * Update google-protobuf dependency to resolve to any version less than 4.x.x.
3
7
 
data/gems/rails.gemfile CHANGED
@@ -1,3 +1,4 @@
1
1
  eval_gemfile("../Gemfile")
2
2
 
3
3
  gem "rails"
4
+ gem "puma"
@@ -29,7 +29,6 @@ module ScoutApm
29
29
  attributes_to_log.merge!(local_log_location) if ::Logger::Severity.const_get(severity) >= ::Logger::Severity::WARN
30
30
 
31
31
  message = "#{attributes_to_log.to_json}\n"
32
- attributes_to_log['raw_bytes'] = message
33
32
 
34
33
  ScoutApm::Logging::Loggers::OpenTelemetry.logger_provider.logger(
35
34
  name: 'scout_apm',
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ScoutApm
4
4
  module Logging
5
- VERSION = '1.0.1'
5
+ VERSION = '1.0.2'
6
6
  end
7
7
  end
@@ -17,6 +17,7 @@ module ScoutApm
17
17
  initializer 'scout_apm_logging.monitor', after: :initialize_logger, before: :initialize_cache do
18
18
  context = Context.new
19
19
  context.config = Config.with_file(context, context.config.value('config_file'))
20
+ context.config.log_settings(context.logger)
20
21
 
21
22
  Loggers::Capture.new(context).setup!
22
23
  end
@@ -36,7 +36,7 @@ describe ScoutApm::Logging do
36
36
  sleep 5
37
37
 
38
38
  # Call the app to generate the logs
39
- `curl localhost:8080`
39
+ `curl localhost:9292`
40
40
 
41
41
  sleep 5
42
42
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scout_apm_logging
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scout APM
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-09 00:00:00.000000000 Z
11
+ date: 2024-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: googleapis-common-protos-types