aboutsummaryrefslogtreecommitdiff
path: root/test/th_mauve.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/th_mauve.rb')
-rw-r--r--test/th_mauve.rb2
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