Commit 3a3577ae authored by Roman Haefeli's avatar Roman Haefeli
Browse files

improve alignment of log messages

parent bfd9043a
......@@ -127,7 +127,7 @@ def start_proxy():
'room': proxydef['room']
response = {'status': 'OK', 'msg': 'Proxy successfully started'}'Proxy of type "%s" successfully started on port "%s"', proxydef['type'], proxydef['port'])"Start proxy: '%s' '%s' '%s'", proxydef['port'], proxydef['type'], proxydef['room'])
return r(json.dumps(response), 201)
response = {'status': 'Error', 'msg': 'Proxy already running on port %s' % proxydef['port']}
......@@ -138,7 +138,7 @@ def stop_proxy(port):
myproxies[port]['obj'].join()'Proxy of type "%s" running on port "%s" successfully stopped', myproxies[port]['type'], port)"Stop proxy: '%s' '%s' '%s'", port, myproxies[port]['type'], myproxies[port]['room'])
del myproxies[port]
response = {'status': 'OK', 'msg': 'Proxy successfully stopped'}
return r(json.dumps(response))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment