# Things to run after Celluloid is fully loaded

# Configure default systemwide settings
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

Celluloid.logger = Celluloid::IncidentLogger.new
Celluloid::IncidentReporter.supervise_as :default_incident_reporter, STDERR

# Things to run after Celluloid is fully loaded

# Configure default systemwide settings
Celluloid.task_class = Celluloid::TaskFiber
Celluloid.logger     = Logger.new(STDERR)

# Launch default services
# FIXME: We should set up the supervision hierarchy here
Celluloid::Notifications::Fanout.supervise_as :notifications_fanout
Celluloid::IncidentReporter.supervise_as :default_incident_reporter, STDERR

Disable the IncidentReporter by default
Disable the IncidentReporter by default

The IncidentReporter is untested and probably not ready for primetime
yet. This change disables it by default and uses similar logging to
0.12.0, which is a stdlib Logger which logs to STDERR.
