]> iEval git - gruntmaster-daemon.git/commitdiff
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 7001ef18b54efa2d25d9cc435b0db8a5fdd97cff..bb2c4bafccde7a37bd30fc8de88e44f71a708878 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.029118 seconds and 4 git commands to generate.