lib/arrest/source.rb in arrest-0.0.9 vs lib/arrest/source.rb in arrest-0.0.11
- old
+ new
@@ -14,11 +14,13 @@
attr_accessor :json_key_converter
def source=(host=nil)
if host == nil || host.blank?
@source = MemSource.new
+ Arrest::logger.info "Setting Arrest host empty in-memory-store"
else
@source = HttpSource.new host
+ Arrest::logger.info "Setting Arrest host to #{host}"
end
@source
end
def mod=(mod=nil)