Skip to content

Commit

Permalink
log information about amount
Browse files Browse the repository at this point in the history
  • Loading branch information
arnvald committed Dec 13, 2012
1 parent 90fbfe7 commit 90210a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/time_window_drop_collector.rb
Expand Up @@ -37,7 +37,7 @@ def drop( keys, amount=1 )
keys = [keys] unless keys.is_a? Array
keys = keys.map(&:to_s)

TimeWindowDropCollector::Logger.log "DROP keys: #{keys.join(", ")}"
TimeWindowDropCollector::Logger.log "DROP keys: #{keys.join(", ")}, amount: #{amount}"
storage.incr( keys, amount )
end

Expand Down

0 comments on commit 90210a5

Please sign in to comment.