mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Log streaming downloads
This commit is contained in:
parent
9954ce5153
commit
e03add2248
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,8 @@ module ActiveStorage
|
|||
info event, color("Downloaded file from key: #{key_in(event)}", BLUE)
|
||||
end
|
||||
|
||||
alias_method :service_streaming_download, :service_download
|
||||
|
||||
def service_delete(event)
|
||||
info event, color("Deleted file from key: #{key_in(event)}", RED)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue