Set test log level to TRACE when TEST_VERBOSE is true
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 10 Jan 2015 18:37:25 +0000 (20:37 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 10 Jan 2015 18:37:25 +0000 (20:37 +0200)
t/01-jobs.t

index 7001ef1..bb2c4ba 100644 (file)
@@ -17,7 +17,7 @@ use YAML::Any qw/LoadFile/;
 
 ##################################################
 
-my $loglevel = $ENV{TEST_LOG_LEVEL} // 'OFF';
+my $loglevel = $ENV{TEST_LOG_LEVEL} // ($ENV{TEST_VERBOSE} ? 'TRACE' : 'OFF');
 my $log_conf = <<CONF;
 log4perl.category.Gruntmaster.Daemon = $loglevel, stderr
 
This page took 0.019343 seconds and 4 git commands to generate.