Skip to content

Commit

Permalink
DEV-517: Silence deprecation warnings by default to minimize log noise
Browse files Browse the repository at this point in the history
  • Loading branch information
danschmidt5189 committed Mar 18, 2024
1 parent 6ef0eab commit 1a4f1cb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ class Application < Rails::Application
config.load_defaults 7.0
config.action_mailer.default_options = { from: '[email protected]' }
config.lit_gtag_id = ENV.fetch('LIT_GTAG_ID', nil)

# Silenced by default to minimize log noise
# @see https://ucblib.atlassian.net/browse/DEV-517
Deprecation.default_deprecation_behavior = ENV.fetch('LIT_DEPRECATION_BEHAVIOR', 'silence').to_sym

# Configuration for the application, engines, and railties goes here.
#
# These settings can be overridden in specific environments using the files
Expand Down

0 comments on commit 1a4f1cb

Please sign in to comment.