lib/reptile/replication_monitor.rb in reptile-0.1.1 vs lib/reptile/replication_monitor.rb in reptile-0.1.2
- old
+ new
@@ -96,10 +96,10 @@
end
end
end
def self.log_replication_error(options)
- Log.error = "A replication error occured on #{options[:host]} at #{Time.now}"
+ Log.error "A replication error occured on #{options[:host]} at #{Time.now}"
if options[:delay]
Log.error "There was a #{options[:delay]} second replication latency, which is greater than the allowed latency of #{configs['delay_threshold_secs']} seconds"
elsif options[:deltas]
Log.error "The following tables have master/slave row count difference greater than the allowed #{configs['row_difference_threshold']}"
\ No newline at end of file