From 8e1f23521eac0586ec13bdf502bd37a09f53a4a0 Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 18 Nov 2013 17:23:40 +0100 Subject: use our logger - not just puts --- lib/tapicero/couch_changes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/tapicero/couch_changes.rb') diff --git a/lib/tapicero/couch_changes.rb b/lib/tapicero/couch_changes.rb index 64ae123..b45d54a 100644 --- a/lib/tapicero/couch_changes.rb +++ b/lib/tapicero/couch_changes.rb @@ -58,7 +58,7 @@ module Tapicero raise StandardError.new("Can't access sequence file") end @since = File.read(seq_filename).to_i - puts @since + Tapicero.logger.debug "Found sequence: #{@since}" rescue Errno::ENOENT => e Tapicero.logger.warn "No sequence file found. Starting from scratch" end -- cgit v1.2.3