server/serverctl.py
changeset 5990 6f3c77c79a88
parent 5967 8deedfeb7846
child 6060 353bec342e2a
equal deleted inserted replaced
5989:099d46422f5a 5990:6f3c77c79a88
   252 
   252 
   253     def start_server(self, config):
   253     def start_server(self, config):
   254         command = ['cubicweb-ctl start-repository ']
   254         command = ['cubicweb-ctl start-repository ']
   255         if config.debugmode:
   255         if config.debugmode:
   256             command.append('--debug')
   256             command.append('--debug')
   257         command.append('--loglevel %s' % config['log-threshold'])
   257         command.append('--loglevel %s' % config['log-threshold'].lower())
   258         command.append(config.appid)
   258         command.append(config.appid)
   259         os.system(' '.join(command))
   259         os.system(' '.join(command))
   260 
   260 
   261 
   261 
   262 class RepositoryStopHandler(CommandHandler):
   262 class RepositoryStopHandler(CommandHandler):