From: Robert 'phaylon' Sedlacek Date: Thu, 4 Oct 2012 20:04:58 +0000 (+0000) Subject: fixed log levels X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2388a79667d06aefb9497f6f90215de0c43013be;p=scpubgit%2FSystem-Introspector-Report.git fixed log levels --- diff --git a/lib/System/Introspector/Report/Publish/MediaWiki.pm b/lib/System/Introspector/Report/Publish/MediaWiki.pm index 338c3a0..e9ec369 100644 --- a/lib/System/Introspector/Report/Publish/MediaWiki.pm +++ b/lib/System/Introspector/Report/Publish/MediaWiki.pm @@ -7,7 +7,7 @@ use Log::Contextual::WarnLogger; use Log::Contextual qw( :log ), -default_logger => Log::Contextual::WarnLogger->new({ env_prefix => 'SI_REPORT_MEDIAWIKI', - levels => [qw( error fatal warn )], + levels => [qw( error warn info debug trace )], }); use aliased 'System::Introspector::Report::Publish::MediaWiki::Updater'; diff --git a/lib/System/Introspector/Report/Publish/MediaWiki/Updater.pm b/lib/System/Introspector/Report/Publish/MediaWiki/Updater.pm index 1ae642b..ff5f61f 100644 --- a/lib/System/Introspector/Report/Publish/MediaWiki/Updater.pm +++ b/lib/System/Introspector/Report/Publish/MediaWiki/Updater.pm @@ -6,7 +6,7 @@ use Log::Contextual::WarnLogger; use Log::Contextual qw( :log ), -default_logger => Log::Contextual::WarnLogger->new({ env_prefix => 'SI_REPORT_MEDIAWIKI_UPDATER', - levels => [qw( error fatal warn info trace debug )], + levels => [qw( error warn info debug trace )], }); has connection => (is => 'ro', lazy => 1, builder => 1, handles => { diff --git a/lib/System/Introspector/Report/Source.pm b/lib/System/Introspector/Report/Source.pm index 1af1efb..ea988b1 100644 --- a/lib/System/Introspector/Report/Source.pm +++ b/lib/System/Introspector/Report/Source.pm @@ -7,7 +7,7 @@ use Log::Contextual::WarnLogger; use Log::Contextual qw( :log ), -default_logger => Log::Contextual::WarnLogger->new({ env_prefix => 'SI_REPORT_SOURCE', - levels => [qw( error fatal warn )], + levels => [qw( error warn info debug trace )], }); my $_json = JSON::PP->new->utf8->relaxed->allow_nonref;