aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib/action_cable/process/logging.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actioncable/lib/action_cable/process/logging.rb')
-rw-r--r--actioncable/lib/action_cable/process/logging.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/actioncable/lib/action_cable/process/logging.rb b/actioncable/lib/action_cable/process/logging.rb
index dce637b3ca..72b1a080d1 100644
--- a/actioncable/lib/action_cable/process/logging.rb
+++ b/actioncable/lib/action_cable/process/logging.rb
@@ -1,7 +1,10 @@
require 'action_cable/server'
require 'eventmachine'
+require 'celluloid'
EM.error_handler do |e|
puts "Error raised inside the event loop: #{e.message}"
puts e.backtrace.join("\n")
end
+
+Celluloid.logger = ActionCable.server.logger