Added logging level manipulation mechanism
This commit is contained in:
@@ -29,7 +29,7 @@ module Snibox
|
||||
logger = ActiveSupport::Logger.new(STDOUT)
|
||||
logger.formatter = config.log_formatter
|
||||
config.logger = ActiveSupport::TaggedLogging.new(logger)
|
||||
config.log_level = :debug
|
||||
config.log_level = (ENV['LOGLEVEL'] || "debug").to_sym
|
||||
config.log_tags = [ :request_id ]
|
||||
|
||||
# Settings in config/environments/* take precedence over those specified here.
|
||||
|
||||
Reference in New Issue
Block a user