aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib/action_cable/channel
diff options
context:
space:
mode:
authorMartijn Storck <martijn@lico.nl>2017-02-06 12:05:54 +0100
committerMartijn Storck <martijn@lico.nl>2017-02-06 12:05:54 +0100
commit963572b2a4bf252d6c860eb1c5586809f8f4936e (patch)
treedb4ed1e532b8be9bd03645b740238eeae1cafedf /actioncable/lib/action_cable/channel
parent2bbea8b0996a45f9bdfafe3b63f123cca4614e10 (diff)
downloadrails-963572b2a4bf252d6c860eb1c5586809f8f4936e.tar.gz
rails-963572b2a4bf252d6c860eb1c5586809f8f4936e.tar.bz2
rails-963572b2a4bf252d6c860eb1c5586809f8f4936e.zip
Move some ActionCable logs to debug level
Diffstat (limited to 'actioncable/lib/action_cable/channel')
-rw-r--r--actioncable/lib/action_cable/channel/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/action_cable/channel/base.rb b/actioncable/lib/action_cable/channel/base.rb
index 6739a62ba0..718f630f58 100644
--- a/actioncable/lib/action_cable/channel/base.rb
+++ b/actioncable/lib/action_cable/channel/base.rb
@@ -205,7 +205,7 @@ module ActionCable
# Transmit a hash of data to the subscriber. The hash will automatically be wrapped in a JSON envelope with
# the proper channel identifier marked as the recipient.
def transmit(data, via: nil) # :doc:
- logger.info "#{self.class.name} transmitting #{data.inspect.truncate(300)}".tap { |m| m << " (via #{via})" if via }
+ logger.debug "#{self.class.name} transmitting #{data.inspect.truncate(300)}".tap { |m| m << " (via #{via})" if via }
payload = { channel_class: self.class.name, data: data, via: via }
ActiveSupport::Notifications.instrument("transmit.action_cable", payload) do