forked from External/greenlight
GRN2-217: Fixes issues with recording rows and localization (fixed #703-#705) (#707)
* Fixes issues with recording rows * Fixed small typo related to logs
This commit is contained in:
committed by
Jesus Federico
parent
d123d5add0
commit
02b342b157
@ -51,13 +51,6 @@ Rails.application.configure do
|
||||
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
||||
config.force_ssl = (ENV["ENABLE_SSL"] == "true")
|
||||
|
||||
# Use the lowest log level to ensure availability of diagnostic information
|
||||
# when problems arise.
|
||||
config.log_level = :debug
|
||||
|
||||
# Prepend all log lines with the following tags.
|
||||
config.log_tags = [:request_id]
|
||||
|
||||
# Don't wrap form components in field_with_error divs
|
||||
ActionView::Base.field_error_proc = proc do |html_tag|
|
||||
html_tag.html_safe
|
||||
@ -107,8 +100,12 @@ Rails.application.configure do
|
||||
config.log_formatter = proc do |severity, _time, _progname, msg|
|
||||
"#{severity}: #{msg} \n"
|
||||
end
|
||||
|
||||
config.log_level = :info
|
||||
|
||||
# Prepend all log lines with the following tags.
|
||||
config.log_tags = [:request_id]
|
||||
|
||||
if ENV["RAILS_LOG_TO_STDOUT"] == "true"
|
||||
logger = ActiveSupport::Logger.new(STDOUT)
|
||||
logger.formatter = config.log_formatter
|
||||
|
@ -113,6 +113,8 @@ en:
|
||||
cookie_button: I Agree
|
||||
copied: Copied
|
||||
copy: Copy
|
||||
date:
|
||||
month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December]
|
||||
default_admin: You are still using the default password for this account. Please click <a href="%{edit_link}">here</a> to change it
|
||||
delete: Delete
|
||||
delivery_error: An error occured during email delivery. Please contact an administrator!
|
||||
|
Reference in New Issue
Block a user