server/serverctl.py
changeset 5990 6f3c77c79a88
parent 5967 8deedfeb7846
child 6060 353bec342e2a
--- a/server/serverctl.py	Mon Jul 19 10:10:20 2010 +0200
+++ b/server/serverctl.py	Mon Jul 19 10:13:01 2010 +0200
@@ -254,7 +254,7 @@
         command = ['cubicweb-ctl start-repository ']
         if config.debugmode:
             command.append('--debug')
-        command.append('--loglevel %s' % config['log-threshold'])
+        command.append('--loglevel %s' % config['log-threshold'].lower())
         command.append(config.appid)
         os.system(' '.join(command))