Commits: 1

Setup logging

index 1afcfec..be932e4 100644
--- a/main.py
+++ b/main.py
@@ -6,8 +6,14 @@ You can use it to teach concepts of REST.
=
=from fastapi import FastAPI
=from pydantic import BaseModel
+import logging
=
=app = FastAPI()
+logger = logging.getLogger("uvicorn.error")
+
+@app.on_event("startup")
+def init():
+    logger.info("Something something init. Now what?")
=
=
=class Joke(BaseModel):