aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2015-10-14 17:49:02 -0500
committerPratik Naik <pratiknaik@gmail.com>2015-10-14 17:49:02 -0500
commitaf7ddfce698c79bfa7276015f1e2c947d6135261 (patch)
tree0d069e6a70b96b341caf38d13226d34041b78798 /lib
parent18c79bf1930c558c6a8f0cd7889d3cbef741e294 (diff)
downloadrails-af7ddfce698c79bfa7276015f1e2c947d6135261.tar.gz
rails-af7ddfce698c79bfa7276015f1e2c947d6135261.tar.bz2
rails-af7ddfce698c79bfa7276015f1e2c947d6135261.zip
Remove some excessive logging
Diffstat (limited to 'lib')
-rw-r--r--lib/action_cable/channel/base.rb2
-rw-r--r--lib/action_cable/connection/base.rb1
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/action_cable/channel/base.rb b/lib/action_cable/channel/base.rb
index 2f1b4a187d..3f0c4d62d9 100644
--- a/lib/action_cable/channel/base.rb
+++ b/lib/action_cable/channel/base.rb
@@ -139,7 +139,6 @@ module ActionCable
# This method is not intended to be called directly by the user. Instead, overwrite the #unsubscribed callback.
def unsubscribe_from_channel
run_unsubscribe_callbacks
- logger.info "#{self.class.name} unsubscribed"
end
@@ -175,7 +174,6 @@ module ActionCable
def subscribe_to_channel
- logger.info "#{self.class.name} subscribing"
run_subscribe_callbacks
end
diff --git a/lib/action_cable/connection/base.rb b/lib/action_cable/connection/base.rb
index 2f2fa1fdec..15229242f6 100644
--- a/lib/action_cable/connection/base.rb
+++ b/lib/action_cable/connection/base.rb
@@ -99,7 +99,6 @@ module ActionCable
# Close the websocket connection.
def close
- logger.error "Closing connection"
websocket.close
end