kapilvgit / ohttp

Rust library for encapsulating HTTP messages in a cryptographic wrapper
Apache License 2.0
0 stars 1 forks source link

Add structured logging #6

Closed agokarn closed 1 week ago

agokarn commented 3 weeks ago

Add structured logging for telemetry

Args : {"address":"127.0.0.1:9443","indeterminate":false,"certificate":"./ohttp-server/server.crt","key":"./ohttp-server/server.key","target":"http://127.0.0.1:3000/","attest":false,"maa_url":null,"kms_url":null} Config : "002d0000203718062a75e406352e10b6b57cc19eeb6b880ab1c9e21c8f8fac6638251f462000080001000100010003" Processing chunk : {"first":true,"chunk":"{\"results\":[{\"filename\":\"file\",\"transcript\":\" The quick brown fox jumped over a dog.\"}]}\n"} Processing chunk : {"first":false,"chunk":""}