Page MenuHomePhabricator

redis.log spammed with "worthRefreshPopular(1604102439.6853, 60, 900, 1604104011.4142): p = 0.0012121212121212; refresh = N"
Closed, DeclinedPublic

Description

Since upgrading to mediawiki 1.35, we are getting spammed with "worthRefreshPopular(1604102439.6853, 60, 900, 1604104011.4142): p = 0.0012121212121212; refresh = N" in redis log.

Event Timeline

Presumably this is from a config of something like?

$wgDebugLogGroups['redis'] = '/var/log/mediawiki/redis.log';

Or is it a different DebugLogGroup?

worthRefreshPopular comes from WANObjectCache, and is a debug warning

		$this->logger->debug(
			"worthRefreshPopular($asOf, $ageNew, $timeTillRefresh, $now): " .
			"p = $chance; refresh = " . ( $decision ? 'Y' : 'N' )
		);

Maybe you just want to tune the logging level you're sending to file...

Possibly a question for @aaron if that needs to stay as debug or can be downgraded to info

I've changed the log level to warning, thanks! (figured that out after writing this).

Looked like a config error.