shutter-network / rolling-shutter

Rolling Shutter is an MEV protection system to be plugged into rollups.
https://twitter.com/project_shutter/
26 stars 7 forks source link

Unify libp2p log format #442

Open jannikluhn opened 3 months ago

jannikluhn commented 3 months ago

We have two main sources of logs using different libraries:

We can already configure the log levels using a single environment variable ROLLING_SHUTTER_LOGLEVEL which is read in setupLogging. However, they use two different output formats which we should unify.

A crude way to do this is to set the go-log format to JSON and define a zap sink that decodes the JSON messages and relogs them with zerolog.