Rosetta logging

Hi!
I’ve just updated rosetta-sdk-go to v0.3.3 and I’ve just noticed that the debug output of the time, in seconds, that it took each endpoint to respond is not longer present.
It is possible to get that logging info back?

Thanks!

Sorry for the confusion @raynaudoe.

Yes it is! @matheusd put up a PR that made the server logger configurable so that teams building Rosetta implementations could have more control over the logging format (i.e. match the format of their node logs).

To get back the logs you had in <v0.3.3, all you need to do is wrap your router in the default server.LoggerMiddleware!

Awesome, thanks
Works good!

1 Like