Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-06-17 09:09:11 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-06-17 09:09:11 (GMT)
commit57671cfc8741c7f087c7eac9933163f15bd17bf8 (patch)
tree4edb964d4cbf785b6042be210e00033f2c7aae55 /bin
parentac373085ef67d94ae736dff2e6ec3d10a04a4ca0 (diff)
Don't hardcode python 2.4 and lower debugging level to DEBUG (so users can report something when datastore/indexer crashes).
Diffstat (limited to 'bin')
-rwxr-xr-xbin/datastore-service2
-rwxr-xr-xbin/index-service4
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/datastore-service b/bin/datastore-service
index 3e036d8..dc3af92 100755
--- a/bin/datastore-service
+++ b/bin/datastore-service
@@ -26,7 +26,7 @@ filename = None
if not sys.stdin.isatty():
filename = os.path.join(log_dir, "datastore.log")
-logging.basicConfig(level=logging.WARNING,
+logging.basicConfig(level=logging.DEBUG,
format="%(asctime)-15s %(levelname)s: %(message)s",
filename = filename,
)
diff --git a/bin/index-service b/bin/index-service
index be53c84..9d0d6c7 100755
--- a/bin/index-service
+++ b/bin/index-service
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.4
+#!/usr/bin/env python
""" Async index service for the Datastore.
@@ -35,7 +35,7 @@ os.chdir(repo_dir)
filename = None
if not sys.stdin.isatty():
filename = os.path.join(log_dir, "indexer.log")
-logging.basicConfig(level=logging.WARNING,
+logging.basicConfig(level=logging.DEBUG,
format="%(asctime)-15s %(levelname)s: %(message)s",
filename = filename,
)