[tor-commits] [sbws/master] Use method to log stats
juga at torproject.org
juga at torproject.org
Tue Sep 18 09:26:11 UTC 2018
commit 14f0406e6a6193501eb33b62b76365c0c18de74a
Author: juga0 <juga at riseup.net>
Date: Fri Aug 31 14:08:08 2018 +0000
Use method to log stats
---
sbws/core/generate.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbws/core/generate.py b/sbws/core/generate.py
index f996c93..113b05f 100644
--- a/sbws/core/generate.py
+++ b/sbws/core/generate.py
@@ -74,4 +74,4 @@ def main(args, conf):
output = args.output or \
conf.getpath('paths', 'v3bw_fname').format(now_fname())
bw_file.write(output)
- log.info('Mean bandwidth per line: %f "KiB"', bw_file.mean_bw)
+ bw_file.info_stats
More information about the tor-commits
mailing list