Skip to content

Commit bf88011

Browse files
work around the log_level issue
1 parent 3531039 commit bf88011

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/application.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Application < Rails::Application
3636
config.lograge.formatter = Lograge::Formatters::Logstash.new
3737
config.lograge.logger = LogStashLogger.new(type: :stdout)
3838
config.logger = config.lograge.logger ## LogStashLogger needs to be pass to rails logger, see roidrage/lograge#26
39-
config.log_level = ENV["LOG_LEVEL"].to_sym ## Log level in a config level configuration
39+
config.log_level = ENV["LOG_LEVEL"].to_sym || :info
4040

4141
config.lograge.ignore_actions = [
4242
"HeartbeatController#index",

0 commit comments

Comments
 (0)