mirror of
https://github.com/internetee/registry.git
synced 2025-08-15 22:13:54 +02:00
added logging state to the application.yml
This commit is contained in:
parent
d5f2283836
commit
6eddc766a2
2 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,8 @@ smtp_enable_starttls_auto: 'true' # 'false'
|
||||||
# If your mail server requires authentication, please change.
|
# If your mail server requires authentication, please change.
|
||||||
smtp_authentication: 'plain' # 'plain', 'login', 'cram_md5'
|
smtp_authentication: 'plain' # 'plain', 'login', 'cram_md5'
|
||||||
|
|
||||||
|
log_level: 'warn' # 'debug', 'info', 'warn', 'error', 'fatal', 'unknown
|
||||||
|
|
||||||
#
|
#
|
||||||
# ADMIN server
|
# ADMIN server
|
||||||
#
|
#
|
||||||
|
|
|
@ -84,6 +84,9 @@ Rails.application.configure do
|
||||||
config.logger = ActiveSupport::TaggedLogging.new(logger)
|
config.logger = ActiveSupport::TaggedLogging.new(logger)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
config.log_level = ENV['log_level'] || :debug
|
||||||
|
|
||||||
# Do not dump schema after migrations.
|
# Do not dump schema after migrations.
|
||||||
config.active_record.dump_schema_after_migration = false
|
config.active_record.dump_schema_after_migration = false
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue