Set test log level to TRACE when TEST_VERBOSE is true
[gruntmaster-daemon.git] / 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.009698 seconds and 4 git commands to generate.