commit b4cae6df49d334f15cd80f87149f1c38991ea298
Author: Isis Lovecruft <i...@torproject.org>
Date:   Wed Apr 30 23:22:34 2014 +0000

    Set a default logfile name, otherwise chowning chokes on it.
---
 lib/bridgedb/util.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bridgedb/util.py b/lib/bridgedb/util.py
index cc9c65d..00e4ce5 100644
--- a/lib/bridgedb/util.py
+++ b/lib/bridgedb/util.py
@@ -84,7 +84,7 @@ def configureLogging(cfg):
     level = getattr(cfg, 'LOGLEVEL', 'WARNING')
     logLevel = getattr(logging, level, 0)
     logStderr = getattr(cfg, 'LOG_TO_STDERR', False)
-    logfileName = getattr(cfg, 'LOGFILE', "")
+    logfileName = getattr(cfg, 'LOGFILE', "bridgedb.log")
     logfileCount = getattr(cfg, 'LOGFILE_COUNT', 3) - 1
     logfileRotateSize = getattr(cfg, 'LOGFILE_ROTATE_SIZE', 10000000)
     logThreads = getattr(cfg, 'LOG_THREADS', False)



_______________________________________________
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to