Browse Source

Uses the MeasuremeLogFile torrc option

Steven Engler 2 years ago
parent
commit
376d990726
2 changed files with 4 additions and 0 deletions
  1. 1 0
      lib/chutney/TorNet.py
  2. 3 0
      torrc_templates/common.i

+ 1 - 0
lib/chutney/TorNet.py

@@ -1084,6 +1084,7 @@ DEFAULTS = {
                                platform.system() == 'Linux')),
     'num_cpus': None,
     'numa_settings': None,
+    'measureme_log_dir': '${dir}',
 }
 
 

+ 3 - 0
torrc_templates/common.i

@@ -17,6 +17,9 @@ V3AuthNIntervalsValid 2
 # This line will be commented out if 'num_cpus' is None
 ${num_cpus_line}
 
+# measureme
+MeasuremeLogFile ${measureme_log_dir}/measureme-${nick}
+
 ## Always On Testing Options ##
 # We enable TestingDirAuthVoteGuard to avoid Guard stability requirements
 TestingDirAuthVoteGuard *