Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Don't log GCs at INFO #5557

Merged
merged 4 commits into from
Jun 28, 2019
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/5557.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GC logging is now at the DEBUG level, not INFO.
2 changes: 1 addition & 1 deletion synapse/metrics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def f(*args, **kwargs):
counts = gc.get_count()
for i in (2, 1, 0):
if threshold[i] < counts[i]:
logger.info("Collecting gc %d", i)
logger.debug("Collecting gc %d", i)

start = time.time()
unreachable = gc.collect(i)
Expand Down