lib/celluloid/boot.rb in celluloid-0.12.1.pre vs lib/celluloid/boot.rb in celluloid-0.12.1.pre2
- old
+ new
@@ -1,9 +1,11 @@
# Things to run after Celluloid is fully loaded
# Configure default systemwide settings
-Celluloid.logger = Logger.new STDERR
Celluloid.task_class = Celluloid::TaskFiber
# Launch the notifications fanout actor
# FIXME: We should set up the supervision hierarchy here
-Celluloid::Notifications::Fanout.supervise_as :notifications_fanout
\ No newline at end of file
+Celluloid::Notifications::Fanout.supervise_as :notifications_fanout
+
+Celluloid.logger = Celluloid::IncidentLogger.new
+Celluloid::IncidentReporter.supervise_as :default_incident_reporter, STDERR