Skip to content

Commit

Permalink
Remove raw bytes (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrothrock authored Dec 2, 2024
1 parent adfd987 commit f51d1f0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions gems/rails.gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
eval_gemfile("../Gemfile")

gem "rails"
gem "puma"
1 change: 0 additions & 1 deletion lib/scout_apm/logging/loggers/formatter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def call(severity, time, progname, msg) # rubocop:disable Metrics/AbcSize
attributes_to_log.merge!(local_log_location) if ::Logger::Severity.const_get(severity) >= ::Logger::Severity::WARN

message = "#{attributes_to_log.to_json}\n"
attributes_to_log['raw_bytes'] = message

ScoutApm::Logging::Loggers::OpenTelemetry.logger_provider.logger(
name: 'scout_apm',
Expand Down
2 changes: 1 addition & 1 deletion spec/integration/rails/lifecycle_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
sleep 5

# Call the app to generate the logs
`curl localhost:8080`
`curl localhost:9292`

sleep 5

Expand Down

0 comments on commit f51d1f0

Please sign in to comment.