turn rare log messages back into debug since they shouldn't happen too often and...
Robert 'phaylon' Sedlacek [Wed, 3 Oct 2012 17:17:04 +0000 (17:17 +0000)]
lib/System/Introspector/Report/Publish/MediaWiki.pm

index b44503c..2d4186a 100644 (file)
@@ -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'" };