调试 uvicorn

main
RogerWork 9 months ago
parent 2dd57fd9dd
commit 3fb812cf01
  1. 6
      uvicorn_config.json

@ -16,12 +16,14 @@
"default": { "default": {
"formatter": "default", "formatter": "default",
"class": "logging.StreamHandler", "class": "logging.StreamHandler",
"stream": "ext://sys.stderr" "stream": "ext://sys.stderr",
"filename": "/var/log/uvicorn.log"
}, },
"access": { "access": {
"formatter": "access", "formatter": "access",
"class": "logging.StreamHandler", "class": "logging.StreamHandler",
"stream": "ext://sys.stdout" "stream": "ext://sys.stdout",
"filename": "/var/log/uvicorn.log"
} }
}, },
"loggers": { "loggers": {

Loading…
Cancel
Save