commit d2f0198875813440a4be0ebb1d7d34934e7dad33 Author: aagbsn aagbsn@extc.org Date: Sun Oct 26 12:30:18 2014 +0000
Set user's logfile --- ooni/settings.py | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/ooni/settings.py b/ooni/settings.py index 8da250f..bc3d2e5 100644 --- a/ooni/settings.py +++ b/ooni/settings.py @@ -107,6 +107,8 @@ class OConfig(object): w.write(' data_dir: %s\n' % self.data_directory) elif line.startswith(' geoip_data_dir: '): w.write(' geoip_data_dir: %s\n' % os.path.join(usr_share_path, 'GeoIP')) + elif line.startswith(' logfile: '): + w.write(' logfile: %s\n' % os.path.join(self.ooni_home, 'ooniprobe.log')) else: w.write(line)
tor-commits@lists.torproject.org