Browse Source

Output log from gunicorn

pull/1727/head
Hironsan 2 years ago
parent
commit
d290ad11aa
1 changed files with 7 additions and 1 deletions
  1. 8
      backend/cli.py

8
backend/cli.py

@ -49,7 +49,13 @@ def run_on_nix(args):
def load(self):
return gunicorn.util.import_app("config.wsgi")
options = {"bind": "%s:%s" % ("0.0.0.0", args.port), "workers": number_of_workers(), "chdir": base}
options = {
"bind": "%s:%s" % ("0.0.0.0", args.port),
"workers": number_of_workers(),
"chdir": base,
"capture_output": True,
"loglevel": "debug",
}
StandaloneApplication(options).run()

Loading…
Cancel
Save