}
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'" };
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);