Access query/http_request logs from a canister

This might interested you. It’s not exactly what you’re asking for but it might achieve the same thing. This discussion is in the context of HTTP requests.