From: Robert 'phaylon' Sedlacek Date: Wed, 3 Oct 2012 19:40:21 +0000 (+0000) Subject: make warning log level available in executable output X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a0c9420e77d1b8c49b8edfa0513bfa15148574a8;p=scpubgit%2FSystem-Introspector-Report.git make warning log level available in executable output --- diff --git a/bin/system-introspector-report b/bin/system-introspector-report index 79b6b92..288948e 100755 --- a/bin/system-introspector-report +++ b/bin/system-introspector-report @@ -27,7 +27,7 @@ die "$0 requires --config (-c) to be specified\n" my @additional_log_levels = qw( debug trace ); my $logger = Log::Contextual::SimpleLogger->new({ levels => [ - qw( error fatal info ), + qw( error fatal warn info ), grep { defined } @additional_log_levels[0 .. (($log_verbose || 0) - 1)], ],