[svn] commit: r686 - /branches/parkinglot/src/bin/stats/statsd.py
BIND 10 source code commits
bind10-changes at lists.isc.org
Sat Jan 30 02:01:02 UTC 2010
Author: fujiwara
Date: Sat Jan 30 02:01:02 2010
New Revision: 686
Log:
space fix
Modified:
branches/parkinglot/src/bin/stats/statsd.py
Modified: branches/parkinglot/src/bin/stats/statsd.py
==============================================================================
--- branches/parkinglot/src/bin/stats/statsd.py (original)
+++ branches/parkinglot/src/bin/stats/statsd.py Sat Jan 30 02:01:02 2010
@@ -10,7 +10,7 @@
bossgroup = 'Boss'
myname = 'statsd'
-debug = 1
+debug = 0
def total(s):
def totalsub(d,s):
@@ -72,7 +72,7 @@
for l in s.keys():
output += space + ' <from from="%s">\n' % l \
+ dicttoxmlsub(s[l], level+2) \
- + space + ' </from>\n'
+ + space + ' </from>\n'
output += space + '</component>\n'
return output
@@ -148,4 +148,4 @@
last_recvd_time = time.time()
if __name__ == '__main__':
- collector('statistics', 10, '/tmp/stats', 100)
+ collector('statistics', 10, '/tmp/stats.xml', 100)
More information about the bind10-changes
mailing list