Skip to content

CodiumTeam/fastapi-logging-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A FastAPI logging demo

Create a .env file in the root of the repo with the following contents:

SERVER_SENTRY_DSN=<get your sentry DSN from sentry.io>
VITE_PUBLIC_SENTRY_DSN=<get your sentry DSN from sentry.io>

Install dependencies and run the server:

docker compose up --build

Perform some requests and see the server logs

curl localhost:8000 -H "User-Id: john" -v -H "Session-Id: 1241" -H "X-Correlation-ID: 99999" 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published