kkrt-labs / kakarot-rpc

Kakarot ZK EVM Ethereum RPC adapter
MIT License
109 stars 89 forks source link

dev: improve logging using json formatting #981

Closed greged93 closed 6 days ago

greged93 commented 3 months ago

Describe the enhancement request In order to make logs processing easier, update the current tracing implementation to use JSON formatting.

See below tracing from DNA: image

This can be achieved using RUST_LOG_FORMAT: json in the environment for DNA.

bhavyagosai commented 3 months ago

~Checked out how they are doing it for DNA. Can you consider assigning it to me?~ Ah it has been self assigned, did not see that 😅

greged93 commented 3 months ago

hey @bhavyagosai yeah sorry, little involved with multiple blocks in our infra, will be easier if I take this