diff options
author | George Claghorn <george@basecamp.com> | 2018-07-26 18:48:04 -0400 |
---|---|---|
committer | George Claghorn <george@basecamp.com> | 2018-07-26 18:48:04 -0400 |
commit | e03add224899e0a10e7cfa28c09e68c8b9c920ed (patch) | |
tree | c7820a4ab735e3b30dfa9b52be78a6ad901b038a /activestorage | |
parent | 9954ce515353627322a6df1f9bf48fed3fffcfea (diff) | |
download | rails-e03add224899e0a10e7cfa28c09e68c8b9c920ed.tar.gz rails-e03add224899e0a10e7cfa28c09e68c8b9c920ed.tar.bz2 rails-e03add224899e0a10e7cfa28c09e68c8b9c920ed.zip |
Log streaming downloads
Diffstat (limited to 'activestorage')
-rw-r--r-- | activestorage/lib/active_storage/log_subscriber.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activestorage/lib/active_storage/log_subscriber.rb b/activestorage/lib/active_storage/log_subscriber.rb index a4e148c1a5..6c0b4c30e7 100644 --- a/activestorage/lib/active_storage/log_subscriber.rb +++ b/activestorage/lib/active_storage/log_subscriber.rb @@ -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 |