Merge branch 'hotfix/3.7.2' into develop

This commit is contained in:
Karol Sójko
2021-05-28 11:38:10 +02:00
2 changed files with 4 additions and 4 deletions

View File

@@ -2,6 +2,8 @@ RAILS_ENV=development
PORT=3001
WEB_CONCURRENCY=0
RAILS_LOG_TO_STDOUT=true
# Log Level options: "INFO" | "DEBUG" | "INFO" | "WARN" | "ERROR" | "FATAL"
RAILS_LOG_LEVEL=INFO
RAILS_SERVE_STATIC_FILES=true
SECRET_KEY_BASE=test
APP_HOST=http://localhost:3001

View File

@@ -11,6 +11,8 @@ Rails.application.configure do
config.logger = ActiveSupport::Logger.new(STDOUT)
end
config.log_level = ENV.fetch('RAILS_LOG_LEVEL', 'INFO').to_sym
config.colorize_logging = false
config.logger.formatter = StandardNotesFormatter.new
@@ -64,10 +66,6 @@ Rails.application.configure do
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
# config.force_ssl = true
# Use the lowest log level to ensure availability of diagnostic information
# when problems arise.
config.log_level = :info
# Prepend all log lines with the following tags.
# config.log_tags = [ :subdomain, :uuid ]