From 90be39cdc56d7dea32968fa5a490d29bd730ef24 Mon Sep 17 00:00:00 2001 From: Jerry Wu Date: Sun, 3 Mar 2024 17:56:02 +0800 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 53d62c0..8d8470b 100644 --- a/README.md +++ b/README.md @@ -471,7 +471,7 @@ priority_settings = { # Integration with [hypercorn](https://github.com/pgjones/hypercorn) To add a correlation ID to your [hypercorn](https://github.com/pgjones/hypercorn) logs, you'll need to add a log filter and change the log formatting. Here's an example of how to configure hypercorn, if you're running a [FastAPI](https://fastapi.tiangolo.com/deployment/manually/) app: -``` +```python import logging import os @@ -558,7 +558,7 @@ INFO log [7e7ccfff352a428991920d1da2502674] root test_get # Integration with [Uvicorn](https://github.com/encode/uvicorn) To add a correlation ID to your [uvicorn](https://github.com/encode/uvicorn) logs, you'll need to add a log filter and change the log formatting. Here's an example of how to configure uvicorn, if you're running a [FastAPI](https://fastapi.tiangolo.com/deployment/manually/) app: -``` +```python import logging import os