Skip to content

Commit

Permalink
Disable for now
Browse files Browse the repository at this point in the history
  • Loading branch information
miharekar committed Nov 10, 2023
1 parent a58b4dd commit 2d07752
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions config/initializers/logging.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

if Rails.env.production?
console_logger = ActiveSupport::Logger.new($stdout)
appsignal_logger = ActiveSupport::TaggedLogging.new(Appsignal::Logger.new("rails"))
Rails.logger = ActiveSupport::BroadcastLogger.new(console_logger, appsignal_logger)
end
# if Rails.env.production?
# console_logger = ActiveSupport::Logger.new($stdout)
# appsignal_logger = ActiveSupport::TaggedLogging.new(Appsignal::Logger.new("rails"))
# Rails.logger = ActiveSupport::BroadcastLogger.new(console_logger, appsignal_logger)
# end

0 comments on commit 2d07752

Please sign in to comment.