mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #23443 from prathamesh-sonpatki/fix-logging-in-development
Put some space for non-assets requests in development mode
This commit is contained in:
commit
8a84f1c047
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,8 @@ module ActionController
|
|||
end
|
||||
message = "Completed #{status} #{Rack::Utils::HTTP_STATUS_CODES[status]} in #{event.duration.round}ms"
|
||||
message << " (#{additions.join(" | ".freeze)})" unless additions.blank?
|
||||
message << "\n\n" if Rails.env.development?
|
||||
|
||||
message
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue