[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [sbws/master] Fix typo to allow logging to file
commit 84a09d06baf99c94476a66cf46c6531399f4c5a2
Author: Matt Traudt <sirmatt@xxxxxxx>
Date: Fri Oct 5 15:32:05 2018 -0400
Fix typo to allow logging to file
---
sbws/util/fs.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbws/util/fs.py b/sbws/util/fs.py
index f61f07f..e5e7173 100644
--- a/sbws/util/fs.py
+++ b/sbws/util/fs.py
@@ -65,7 +65,7 @@ def sbws_required_disk_space(conf):
space_log_files = 0
if conf.getboolean('logging', 'to_file'):
size_log_file = conf.getint('logging', 'to_file_max_bytes')
- num_log_files = conf.geting('logging', 'to_file_num_backups')
+ num_log_files = conf.getint('logging', 'to_file_num_backups')
space_log_files = size_log_file * num_log_files
text_dict['mb_log'] = space_log_files
# roughly, size of a current tor dir
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits