[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r21105: {torflow} Demote clipping log message. (torflow/branches/stable/NetworkScanners/BwAuthority)
Author: mikeperry
Date: 2009-12-06 18:02:39 -0500 (Sun, 06 Dec 2009)
New Revision: 21105
Modified:
torflow/branches/stable/NetworkScanners/BwAuthority/aggregate.py
Log:
Demote clipping log message.
Modified: torflow/branches/stable/NetworkScanners/BwAuthority/aggregate.py
===================================================================
--- torflow/branches/stable/NetworkScanners/BwAuthority/aggregate.py 2009-12-06 18:28:11 UTC (rev 21104)
+++ torflow/branches/stable/NetworkScanners/BwAuthority/aggregate.py 2009-12-06 23:02:39 UTC (rev 21105)
@@ -326,7 +326,7 @@
# Go through the list and cap them to NODE_CAP
for n in nodes.itervalues():
if n.new_bw > tot_net_bw*NODE_CAP:
- plog("NOTICE", "Clipping extremely fast node "+n.idhex+"="+n.nick+
+ plog("INFO", "Clipping extremely fast node "+n.idhex+"="+n.nick+
" at "+str(100*NODE_CAP)+"% of network capacity ("
+str(n.new_bw)+"->"+str(int(tot_net_bw*NODE_CAP))+")")
n.new_bw = int(tot_net_bw*NODE_CAP)