mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
add log level to env
This commit is contained in:
parent
79ef7f4188
commit
61b9cf71f0
@ -51,3 +51,5 @@ UIB_DATE_FORMAT: 'dd/MM/yyyy'
|
||||
OPENLAB_APP_SECRET:
|
||||
OPENLAB_APP_ID:
|
||||
OPENLAB_BASE_URI: 'https://openprojects.fab-manager.com'
|
||||
|
||||
LOG_LEVEL: 'debug'
|
||||
|
@ -41,4 +41,6 @@ Rails.application.configure do
|
||||
|
||||
config.action_mailer.delivery_method = :letter_opener
|
||||
config.action_mailer.default_url_options = { :host => 'localhost:5000' }
|
||||
|
||||
config.log_level = Rails.application.secrets.log_level || :debug
|
||||
end
|
||||
|
@ -46,7 +46,7 @@ Rails.application.configure do
|
||||
# config.force_ssl = true
|
||||
|
||||
# Set to :debug to see everything in the log.
|
||||
config.log_level = :debug
|
||||
config.log_level = Rails.application.secrets.log_level || :debug
|
||||
|
||||
# Prepend all log lines with the following tags.
|
||||
# config.log_tags = [ :subdomain, :uuid ]
|
||||
|
@ -46,7 +46,7 @@ Rails.application.configure do
|
||||
# config.force_ssl = true
|
||||
|
||||
# Set to :debug to see everything in the log.
|
||||
config.log_level = :debug
|
||||
config.log_level = Rails.application.secrets.log_level || :debug
|
||||
|
||||
# Prepend all log lines with the following tags.
|
||||
# config.log_tags = [ :subdomain, :uuid ]
|
||||
|
@ -41,4 +41,5 @@ Rails.application.configure do
|
||||
|
||||
config.active_support.test_order = :random
|
||||
|
||||
config.log_level = Rails.application.secrets.log_level || :debug
|
||||
end
|
||||
|
@ -33,6 +33,7 @@ development:
|
||||
openlab_base_uri: <%= ENV["OPENLAB_BASE_URI"] %>
|
||||
navinum_api_login: <%= ENV["NAVINUM_API_LOGIN"] %>
|
||||
navinum_api_password: <%= ENV["NAVINUM_API_PASSWORD"] %>
|
||||
log_level: <%= ENV["LOG_LEVEL"] %>
|
||||
|
||||
test:
|
||||
secret_key_base: 83daf5e7b80d990f037407bab78dff9904aaf3c195a50f84fa8695a22287e707dfbd9524b403b1dcf116ae1d8c06844c3d7ed942564e5b46be6ae3ead93a9d30
|
||||
@ -57,6 +58,7 @@ test:
|
||||
openlab_base_uri:
|
||||
navinum_api_login:
|
||||
navinum_api_password:
|
||||
log_level: <%= ENV["LOG_LEVEL"] %>
|
||||
|
||||
staging:
|
||||
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
||||
@ -88,6 +90,7 @@ staging:
|
||||
openlab_base_uri: <%= ENV["OPENLAB_BASE_URI"] %>
|
||||
navinum_api_login: <%= ENV["NAVINUM_API_LOGIN"] %>
|
||||
navinum_api_password: <%= ENV["NAVINUM_API_PASSWORD"] %>
|
||||
log_level: <%= ENV["LOG_LEVEL"] %>
|
||||
|
||||
# Do not keep production secrets in the repository,
|
||||
# instead read values from the environment.
|
||||
@ -122,3 +125,4 @@ production:
|
||||
google_analytics_id: <%= ENV["GA_ID"] %>
|
||||
navinum_api_login: <%= ENV["NAVINUM_API_LOGIN"] %>
|
||||
navinum_api_password: <%= ENV["NAVINUM_API_PASSWORD"] %>
|
||||
log_level: <%= ENV["LOG_LEVEL"] %>
|
||||
|
Loading…
Reference in New Issue
Block a user