Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change info logs to debug #16626

Merged
merged 1 commit into from Oct 29, 2020
Merged

change info logs to debug #16626

merged 1 commit into from Oct 29, 2020

Conversation

diosmosis
Copy link
Member

Fixes #16619

@diosmosis diosmosis added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Oct 29, 2020
@diosmosis diosmosis added this to the 4.0.0-RC milestone Oct 29, 2020
@diosmosis diosmosis merged commit 4211a00 into 4.x-dev Oct 29, 2020
@diosmosis diosmosis deleted the 16619-log-tweak branch October 29, 2020 02:14
@@ -828,7 +828,7 @@ public function invalidateArchivedReportsForSitesThatNeedToBeArchivedAgain($idSi
$segmentDatesToInvalidate = $this->segmentArchiving->getSegmentArchivesToInvalidateForNewSegments($idSiteToInvalidate);

foreach ($segmentDatesToInvalidate as $info) {
$this->logger->info(' Segment "{segment}" was created or changed recently and will therefore archive today (for site ID = {idSite})', [
$this->logger->debug(' Segment "{segment}" was created or changed recently and will therefore archive today (for site ID = {idSite})', [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one would be helpful probably as info

@@ -868,7 +868,7 @@ private function invalidateRecentDate($dateStr, $idSite)
return;
}

$this->logger->info(" Will invalidate archived reports for $dateStr in site ID = {idSite}'s timezone ({date}).", [
$this->logger->debug(" Will invalidate archived reports for $dateStr in site ID = {idSite}'s timezone ({date}).", [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if these things are not supposed to happen often, it would be useful to log as info? in my ticket i just meant the 2 extra lines with no useful info displayed for each site, i didn't mean we necessarily remove every line as these look useful (as long as they aren't expected to be triggered all the time)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

remove core:archive output "Checking for queued invalidations / Done invalidating"
2 participants