Posts about python
2 posts
-
Structured logging: why your logs should be JSON
Plain text logs are easy to write and hard to search. Here is how structured logs with consistent fields make debugging production services faster.
-
Typed configuration in FastAPI with pydantic-settings
Load and validate environment variables once, fail fast on bad config, and keep secrets out of your code: a small pattern I use in every FastAPI service.