[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [sbws/master] Use method to log stats



commit 14f0406e6a6193501eb33b62b76365c0c18de74a
Author: juga0 <juga@xxxxxxxxxx>
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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits