lib/flapjack/executive.rb in flapjack-0.6.38 vs lib/flapjack/executive.rb in flapjack-0.6.39
- old
+ new
@@ -34,9 +34,10 @@
notifylog = @config['notification_log_file'] || 'log/notify.log'
@notifylog = Log4r::Logger.new("executive")
@notifylog.add(Log4r::FileOutputter.new("notifylog", :filename => notifylog))
# FIXME: Put loading filters into separate method
+ # FIXME: should we make the filters more configurable by the end user?
options = { :log => @logger, :persistence => @redis }
@filters = []
@filters << Flapjack::Filters::Ok.new(options)
@filters << Flapjack::Filters::ScheduledMaintenance.new(options)
@filters << Flapjack::Filters::UnscheduledMaintenance.new(options)