|
@ -69,5 +69,12 @@ Rails.application.configure do |
|
|
# config.action_cable.disable_request_forgery_protection = true |
|
|
# config.action_cable.disable_request_forgery_protection = true |
|
|
|
|
|
|
|
|
# Semantic Logger in console log only! |
|
|
# Semantic Logger in console log only! |
|
|
config.semantic_logger.add_appender(io: $stdout, formatter: BasicFormatter.new) |
|
|
|
|
|
|
|
|
config.semantic_logger.add_appender( |
|
|
|
|
|
io: $stdout, |
|
|
|
|
|
formatter: BasicFormatter.new, |
|
|
|
|
|
filter: ->log { |
|
|
|
|
|
return true if log.name != "ActionView::Base" |
|
|
|
|
|
log.message.exclude?("Rendered /") && log.message.exclude?("Rendered layout /") |
|
|
|
|
|
}, |
|
|
|
|
|
) |
|
|
end |
|
|
end |