Reduce noisy logging

This commit is contained in:
Daniel
2023-07-21 16:04:02 +02:00
parent 49adef242e
commit e70fd9abd7
5 changed files with 15 additions and 6 deletions

View File

@@ -78,7 +78,8 @@ func cleanConnections() (activePIDs map[int]struct{}) {
}
case conn.Ended < deleteOlderThan:
// Step 3: delete
log.Tracef("network.clean: deleted %s (ended at %s)", conn.DatabaseKey(), time.Unix(conn.Ended, 0))
// DEBUG:
// log.Tracef("network.clean: deleted %s (ended at %s)", conn.DatabaseKey(), time.Unix(conn.Ended, 0))
conn.delete()
}