Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Commit

Permalink
Merge pull request #231 from colinbruce/reduce-activerecord-log-level
Browse files Browse the repository at this point in the history
Reduce log level for ActiveRecord
  • Loading branch information
colinbruce committed Mar 11, 2021
2 parents 7b8d7fd + df3dafb commit a3fc069
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app.rb
Expand Up @@ -25,6 +25,7 @@ class App < Sinatra::Base

set :show_exceptions, :after_handler
set :database_file, 'config/database.yml'
ActiveRecord::Base.logger.level = Logger::WARN if ActiveRecord::Base.logger
SlackRubyBot::Client.logger.level = Logger::WARN
SlackRubyBot.configure do |config|
config.allow_bot_messages = true
Expand Down

0 comments on commit a3fc069

Please sign in to comment.