sudo -Hu fba cp config.defaults.json config.json
```
+### Alter configuration file
+You maybe wish to change the configuration file, e.g. log_level is set to "info" which is the
+default but invates privacy of your users, but your choice:
+
+```
+ "critical"
+ "error"
+ "warning"
+ "info"
+ "debug"
+ "trace"
+```
### Install the services
config = loads(f.read())
base_url = config["base_url"]
port = config["port"]
+ log_level = config["log_level"]
app = FastAPI(docs_url=base_url+"/docs", redoc_url=base_url+"/redoc")
templates = Jinja2Templates(directory=".")
return templates.TemplateResponse("rss.xml", {"request": request, "timestamp": timestamp, "domain": domain, "blocks": result}, headers={"Content-Type": "application/rss+xml"})
if __name__ == "__main__":
- uvicorn.run("api:app", host="127.0.0.1", port=port, log_level="info")
+ uvicorn.run("api:app", host="127.0.0.1", port=port, log_level=log_level)