[tor-commits] [gettor/master] Adapt MakeStat.py to reflect the new directory structure

kaner at torproject.org kaner at torproject.org
Sat Mar 3 11:46:39 UTC 2012


commit a7e6f36fe3a6453964159714d1fbf309efd0abf2
Author: Christian Fromme <kaner at strace.org>
Date:   Sat Mar 3 12:45:48 2012 +0100

    Adapt MakeStat.py to reflect the new directory structure
---
 MakeStat.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/MakeStat.py b/MakeStat.py
index f5ddf70..a34d59b 100644
--- a/MakeStat.py
+++ b/MakeStat.py
@@ -70,7 +70,7 @@ def main():
     stats = {}
     
     config = gettor.config.Config()
-    logDir = os.path.join(config.BASEDIR, "log")
+    logDir = os.path.join(config.BASEDIR, "var", "log")
     logFilePattern = os.path.join(logDir, config.LOGFILE + "*.log")
     fileList = glob.glob(logFilePattern)
     fileList = sorted(fileList)



More information about the tor-commits mailing list