diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-03-22 17:40:15 +0000 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-03-22 17:40:15 +0000 |
commit | 2622cd5d2cb322b78229d345d82076a582925ae2 (patch) | |
tree | 2e7349408ebf9fc8ea6bfd206b8499830a3c9580 /test/th_mauve.rb | |
parent | 499c144b8cfd973d3766fd81a4e702aa0013de0e (diff) |
Updated a couple of test helpers.
Diffstat (limited to 'test/th_mauve.rb')
-rw-r--r-- | test/th_mauve.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/th_mauve.rb b/test/th_mauve.rb index 7972b9d..2b97e64 100644 --- a/test/th_mauve.rb +++ b/test/th_mauve.rb @@ -69,7 +69,7 @@ module Mauve @logger = Log4r::Logger.new 'Mauve' @outputter = Mauve::TestOutputter.new("test") @outputter.formatter = Log4r::PatternFormatter.new( :pattern => "%d %l %m" ) - @outputter.level = Log4r::WARN + @outputter.level = ($debug ? Log4r::DEBUG : Log4r::WARN) @logger.outputters << @outputter return @logger end |