mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-02 13:24:20 +01:00
fix default level_log config
This commit is contained in:
parent
a0fef8d046
commit
57cb6c4fbe
@ -46,7 +46,7 @@ Rails.application.configure do
|
|||||||
# config.force_ssl = true
|
# config.force_ssl = true
|
||||||
|
|
||||||
# Set to :debug to see everything in the log.
|
# Set to :debug to see everything in the log.
|
||||||
config.log_level = Rails.application.secrets.log_level || :debug
|
config.log_level = Rails.application.secrets.log_level.blank? ? :debug : Rails.application.secrets.log_level
|
||||||
|
|
||||||
# Prepend all log lines with the following tags.
|
# Prepend all log lines with the following tags.
|
||||||
# config.log_tags = [ :subdomain, :uuid ]
|
# config.log_tags = [ :subdomain, :uuid ]
|
||||||
|
@ -46,7 +46,7 @@ Rails.application.configure do
|
|||||||
# config.force_ssl = true
|
# config.force_ssl = true
|
||||||
|
|
||||||
# Set to :debug to see everything in the log.
|
# Set to :debug to see everything in the log.
|
||||||
config.log_level = Rails.application.secrets.log_level || :debug
|
config.log_level = Rails.application.secrets.log_level.blank? ? :debug : Rails.application.secrets.log_level
|
||||||
|
|
||||||
# Prepend all log lines with the following tags.
|
# Prepend all log lines with the following tags.
|
||||||
# config.log_tags = [ :subdomain, :uuid ]
|
# config.log_tags = [ :subdomain, :uuid ]
|
||||||
|
@ -41,5 +41,5 @@ Rails.application.configure do
|
|||||||
|
|
||||||
config.active_support.test_order = :random
|
config.active_support.test_order = :random
|
||||||
|
|
||||||
config.log_level = Rails.application.secrets.log_level || :debug
|
config.log_level = Rails.application.secrets.log_level.blank? ? :debug : Rails.application.secrets.log_level
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user