lib/nitro/server/cluster.rb in nitro-0.7.0 vs lib/nitro/server/cluster.rb in nitro-0.8.0

- old
+ new

@@ -71,11 +71,11 @@ cluster.each { |uri, sdrb| begin sdrb.server_sync(key, value) rescue => ex - $log.error "Server at #{uri} is down, removing from cluster" + Logger.error "Server at #{uri} is down, removing from cluster" cluster.delete(uri) end } } end @@ -92,10 +92,10 @@ cluster.each { |uri, sdrb| begin sdrb.server_sync(key, value) unless uri == server_uri rescue => ex - $log.error "Server at #{uri} is down, removing from cluster" + Logger.error "Server at #{uri} is down, removing from cluster" cluster.delete(uri) end } } end