Merge "setting fake mode to print startup errors"
This commit is contained in:
commit
96b4870716
@ -71,10 +71,10 @@ def run_server():
|
|||||||
workers=CONF.trove_api_workers)
|
workers=CONF.trove_api_workers)
|
||||||
start_fake_taskmanager()
|
start_fake_taskmanager()
|
||||||
launcher.wait()
|
launcher.wait()
|
||||||
except RuntimeError as error:
|
except Exception:
|
||||||
import traceback
|
import traceback
|
||||||
print traceback.format_exc()
|
print(traceback.format_exc())
|
||||||
sys.exit("ERROR: %s" % error)
|
sys.exit("ERROR Starting up")
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
@ -14,7 +14,7 @@ default_log_levels=routes.middleware=ERROR,trove.common.auth=WARN
|
|||||||
|
|
||||||
log_file = trovetest.log
|
log_file = trovetest.log
|
||||||
|
|
||||||
use_stderr = False
|
use_stderr = True
|
||||||
|
|
||||||
# Show more verbose log output (sets INFO log level output)
|
# Show more verbose log output (sets INFO log level output)
|
||||||
verbose = True
|
verbose = True
|
||||||
|
Loading…
Reference in New Issue
Block a user