equal
deleted
inserted
replaced
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): |