[tor-commits] [sbws/master] Size of log file, no stdout
pastly at torproject.org
pastly at torproject.org
Wed Sep 5 19:44:55 UTC 2018
commit dcc7435aae0d15bbad89aa21161b106cc64388c2
Author: juga0 <juga at riseup.net>
Date: Sat Aug 4 05:13:04 2018 +0000
Size of log file, no stdout
---
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 9e6bc29..9621b6f 100644
--- a/sbws/util/fs.py
+++ b/sbws/util/fs.py
@@ -27,7 +27,7 @@ def sbws_required_disk_space(conf):
# not counted rotated files and assuming that when it is not rotated the
# size will be aproximately 10MiB
size_log_file = conf.getint('logging', 'to_file_max_bytes') or 10485760 \
- if conf.getboolean('logging', 'to_stdout') else 0
+ if conf.getboolean('logging', 'to_file') else 0
# roughly, size of a current tor dir
space_tor_dir = 19828000
# duplicate everything to warn early
More information about the tor-commits
mailing list