Merge pull request #6250 from matrix-org/michaelkaye/make_user_stats_less_verbose

Make user stats less verbose
pull/6257/head
Erik Johnston 2019-10-25 10:04:51 +01:00 committed by GitHub
commit 2020f11916
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/6250.misc Normal file
View File

@ -0,0 +1 @@
Reduce verbosity of user/room stats.

View File

@ -332,7 +332,7 @@ class StatsStore(StateDeltasStore):
def _bulk_update_stats_delta_txn(txn): def _bulk_update_stats_delta_txn(txn):
for stats_type, stats_updates in updates.items(): for stats_type, stats_updates in updates.items():
for stats_id, fields in stats_updates.items(): for stats_id, fields in stats_updates.items():
logger.info( logger.debug(
"Updating %s stats for %s: %s", stats_type, stats_id, fields "Updating %s stats for %s: %s", stats_type, stats_id, fields
) )
self._update_stats_delta_txn( self._update_stats_delta_txn(