[tor-commits] [arm/release] fix: Missing configuration key for missing geoip

atagar at torproject.org atagar at torproject.org
Sun Jul 17 06:08:16 UTC 2011


commit 36512bdc7608db5f225e58926ac0b5f383f6b026
Author: Damian Johnson <atagar at torproject.org>
Date:   Mon Apr 25 18:51:13 2011 -0700

    fix: Missing configuration key for missing geoip
    
    This causes a crashing error when the Tor geoip file is unavailable, and
    locales are queried.
---
 src/util/torTools.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/util/torTools.py b/src/util/torTools.py
index b5913ed..31a7061 100644
--- a/src/util/torTools.py
+++ b/src/util/torTools.py
@@ -82,7 +82,8 @@ CONFIG = {"torrc.map": {},
           "log.torSetConf": log.INFO,
           "log.torPrefixPathInvalid": log.NOTICE,
           "log.bsdJailFound": log.INFO,
-          "log.unknownBsdJailId": log.WARN}
+          "log.unknownBsdJailId": log.WARN,
+          "log.geoipUnavailable": log.WARN}
 
 # events used for controller functionality:
 # NOTICE - used to detect when tor is shut down





More information about the tor-commits mailing list