Permalink
Browse files

renamed DEFAULT_MAX_LINES_PER_LOGGER to DEFAULT_MAX_LINES

  • Loading branch information...
paukul committed Aug 9, 2011
1 parent 352cb04 commit f462a0c7b6d6bc9e93c2d9b773a717361401c635
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/amqp_logging/metrics_agent.rb
@@ -3,7 +3,7 @@
module AMQPLogging
class MetricsAgent
- DEFAULT_MAX_LINES_PER_LOGGER = 1000
+ DEFAULT_MAX_LINES = 1000
attr_reader :fields
attr_accessor :max_lines
@@ -14,7 +14,7 @@ def initialize
:loglines => [],
:severity => 0
}
- @max_lines = DEFAULT_MAX_LINES_PER_LOGGER
+ @max_lines = DEFAULT_MAX_LINES
@logger_types = {}
reset_fields
end

0 comments on commit f462a0c

Please sign in to comment.