[tor-commits] [sbws/master] Remove unused config option log_filepath

pastly at torproject.org pastly at torproject.org
Wed Jul 11 15:05:40 UTC 2018


commit fa105e14697d30c624fe79cdd2c2d9fe2efbe139
Author: Matt Traudt <sirmatt at ksu.edu>
Date:   Mon Jun 25 11:22:41 2018 -0400

    Remove unused config option log_filepath
---
 sbws/config.default.ini | 1 -
 sbws/util/config.py     | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/sbws/config.default.ini b/sbws/config.default.ini
index 3e49052..dbe46a2 100644
--- a/sbws/config.default.ini
+++ b/sbws/config.default.ini
@@ -3,7 +3,6 @@ datadir = ${sbws_home}/datadir
 v3bw_dname = ${sbws_home}/v3bw
 v3bw_fname = ${v3bw_dname}/{}.v3bw
 started_filepath = ${sbws_home}/started_at
-log_filepath = ${sbws_home}/sbws.log
 log_dname = ${sbws_home}/log
 
 [destinations]
diff --git a/sbws/util/config.py b/sbws/util/config.py
index 0e6f308..bf73540 100644
--- a/sbws/util/config.py
+++ b/sbws/util/config.py
@@ -198,7 +198,7 @@ def _validate_paths(conf):
     err_tmpl = Template('$sec/$key ($val): $e')
     unvalidated_keys = [
         'datadir', 'sbws_home', 'v3bw_fname', 'v3bw_dname',
-        'started_filepath', 'log_filepath', 'log_dname']
+        'started_filepath', 'log_dname']
     all_valid_keys = unvalidated_keys
     allow_missing = ['sbws_home']
     errors.extend(_validate_section_keys(conf, sec, all_valid_keys, err_tmpl,





More information about the tor-commits mailing list