From: Robert 'phaylon' Sedlacek Date: Wed, 3 Oct 2012 16:57:56 +0000 (+0000) Subject: move skipping messages to tracing log level X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1acc31a2c0d60922aac387e8efee17f0ed9ebb1c;p=scpubgit%2FSystem-Introspector-Report.git move skipping messages to tracing log level --- diff --git a/lib/System/Introspector/Report/Publish/MediaWiki.pm b/lib/System/Introspector/Report/Publish/MediaWiki.pm index 7d7291a..d22ee8a 100644 --- a/lib/System/Introspector/Report/Publish/MediaWiki.pm +++ b/lib/System/Introspector/Report/Publish/MediaWiki.pm @@ -90,7 +90,7 @@ sub _publish_page { } my $sorted = $self->_sort_reports($reports, $options->{report} || []); unless (scalar @$sorted) { - log_debug { "Skipping page '$page_name': No reports to publish" }; + log_trace { "Skipping page '$page_name': No reports to publish" }; return 1; } log_debug { "Updating page '$page_name'" }; @@ -98,12 +98,12 @@ sub _publish_page { return try { my $page = $self->get_page($page_name); if ($page->is_new and not $do_create) { - log_debug { "Skipping page '$page_name': Does not yet exist" }; + log_trace { "Skipping page '$page_name': Does not yet exist" }; return 1; } my $is_changed = $page->update($sorted); unless ($is_changed) { - log_debug { "Not pushing page '$page_name': No changes" }; + log_trace { "Not pushing page '$page_name': No changes" }; return 1; } $self->put_page($page);