level not supported until ruby 2.4

pull/14302/head
Javier Torres 6 years ago
parent ba06ac2181
commit 906c786be4

@ -28,7 +28,7 @@ CartoDB::Application.configure do
# Note that we pass the desired log level to the logger's constructor;
# assigning to `config.log_level` would have no effect here, since we have set the logger explicitly.
config.logger = ActiveSupport::TaggedLogging.new(
ActiveSupport::Logger.new(Carto::Conf.new.log_file_path('production.log'), level: Logger::INFO)
ActiveSupport::Logger.new(Carto::Conf.new.log_file_path('production.log'))
)
config.log_level = :info

@ -25,7 +25,7 @@ CartoDB::Application.configure do
# Note that we pass the desired log level to the logger's constructor;
# assigning to `config.log_level` would have no effect here, since we have set the logger explicitly.
config.logger = ActiveSupport::TaggedLogging.new(
ActiveSupport::Logger.new(Carto::Conf.new.log_file_path('staging.log'), level: Logger::INFO)
ActiveSupport::Logger.new(Carto::Conf.new.log_file_path('staging.log'))
)
config.log_level = :info

Loading…
Cancel
Save