From: Robert 'phaylon' Sedlacek Date: Wed, 3 Oct 2012 17:17:04 +0000 (+0000) Subject: turn rare log messages back into debug since they shouldn't happen too often and... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=82dc985c07ff5d85a6268ffdb47c69ede9921fc2;p=scpubgit%2FSystem-Introspector-Report.git turn rare log messages back into debug since they shouldn't happen too often and tell us why something might not update --- diff --git a/lib/System/Introspector/Report/Publish/MediaWiki.pm b/lib/System/Introspector/Report/Publish/MediaWiki.pm index b44503c..2d4186a 100644 --- a/lib/System/Introspector/Report/Publish/MediaWiki.pm +++ b/lib/System/Introspector/Report/Publish/MediaWiki.pm @@ -92,7 +92,7 @@ sub _publish_page { } my $sorted = $self->_sort_reports($reports, $options->{report} || []); unless (scalar @$sorted) { - log_trace { "Skipping page '$page_name': No reports to publish" }; + log_debug { "Skipping page '$page_name': No reports to publish" }; return 1; } my $do_create = $options->{create}; @@ -104,7 +104,7 @@ sub _publish_page { } my $is_changed = $page->update($sorted); unless ($is_changed) { - log_trace { "Not pushing page '$page_name': No changes" }; + log_debug { "Not pushing page '$page_name': No changes" }; return 1; } log_debug { "Updating page '$page_name'" };