web/ldtplatform/config.py.tmpl
changeset 196 b939a58d13b0
parent 177 32fbed79d3a1
child 243 3cff86180fbe
--- a/web/ldtplatform/config.py.tmpl	Wed Oct 05 11:25:51 2011 +0200
+++ b/web/ldtplatform/config.py.tmpl	Mon Oct 10 11:54:34 2011 +0200
@@ -54,6 +54,7 @@
 
 LOG_FILE = os.path.abspath(os.path.join(BASE_DIR,"../log/log.txt"))
 LOG_LEVEL = logging.DEBUG
+logging.basicConfig(filename=LOG_FILE, level=LOG_LEVEL)
 
 INDEX_PATH = os.path.abspath(BASE_DIR + "../index/")