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

[tor-commits] [ooni-probe/master] Set user's logfile



commit d2f0198875813440a4be0ebb1d7d34934e7dad33
Author: aagbsn <aagbsn@xxxxxxxx>
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 mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits