jmwalletd.routers.logs
jmwalletd.routers.logs
Log retrieval endpoint.
Serves the most recent log output captured by the log_buffer sink as plain
text. Used by jam's Logs page. The endpoint requires authentication because
logs can contain wallet/activity metadata.
Attributes
router = APIRouter()
module-attribute
Functions:
get_logs(_auth: dict[str, Any] = Depends(require_auth)) -> PlainTextResponse
async
Return the recent in-memory log buffer as plain text.
Source code in jmwalletd/src/jmwalletd/routers/logs.py
21 22 23 24 | |