Skip to content

Commit

Permalink
Try logging to appsignal once again
Browse files Browse the repository at this point in the history
  • Loading branch information
miharekar committed Jan 18, 2024
1 parent 4da7c94 commit 30d6423
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ GEM
base64 (0.2.0)
bcrypt (3.1.20)
benchmark-ips (2.13.0)
bigdecimal (3.1.5)
bigdecimal (3.1.6)
bindex (0.8.1)
bootsnap (1.17.1)
msgpack (~> 1.2)
Expand Down Expand Up @@ -235,7 +235,7 @@ GEM
mime-types-data (3.2023.1205)
mini_magick (4.12.0)
mini_mime (1.1.5)
minitest (5.21.1)
minitest (5.21.2)
msgpack (1.7.2)
multi_xml (0.6.0)
mutex_m (0.2.0)
Expand Down
4 changes: 4 additions & 0 deletions config/initializers/logging.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# frozen_string_literal: true

appsignal_logger = Appsignal::Logger.new("rails")
Rails.logger.broadcast_to(appsignal_logger)

0 comments on commit 30d6423

Please sign in to comment.