aboutsummaryrefslogtreecommitdiff
path: root/script/webcoso.pl
diff options
context:
space:
mode:
Diffstat (limited to 'script/webcoso.pl')
-rw-r--r--script/webcoso.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/script/webcoso.pl b/script/webcoso.pl
index 660d7dd..a4f9407 100644
--- a/script/webcoso.pl
+++ b/script/webcoso.pl
@@ -20,7 +20,10 @@ $WebCoso::Common::SRCPATH=~s{/+$}{};
$WebCoso::Common::DSTPATH=~s{/+$}{};
$WebCoso::Common::DSTBASEURL=~s{/*$}{/};
}
-Log::Log4perl->easy_init({level=>$WebCoso::Common::VERBOSITY});
+Log::Log4perl->easy_init({level=>
+ [qw(WARN INFO DEBUG TRACE)]
+ ->[$WebCoso::Common::VERBOSITY]
+ });
if ($CLEAN) {