diff options
author | Azul <azul@riseup.net> | 2013-11-18 17:23:40 +0100 |
---|---|---|
committer | Azul <azul@riseup.net> | 2013-11-18 17:23:40 +0100 |
commit | 8e1f23521eac0586ec13bdf502bd37a09f53a4a0 (patch) | |
tree | 573fe03b8683238c37d2b459578fd27d15e51129 /lib/tapicero | |
parent | 0cc941bb4e46489fb6eb9f8f3282ee3a6c046449 (diff) |
use our logger - not just puts
Diffstat (limited to 'lib/tapicero')
-rw-r--r-- | lib/tapicero/couch_changes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |