-
Notifications
You must be signed in to change notification settings - Fork 932
Closed
Labels
Description
I've noticed once switched to tracing our logs aren't aligned. Its a small thing, but might be nice to improve the formatter. See for example:
Apr 03 18:31:22.540 INFO Blob DB initialized path: "/home/age/.lighthouse/mainnet/beacon/blobs_db", oldest_blob_slot: Some(Slot(8626176)), oldest_data_column_slot: None
Apr 03 18:31:22.540 DEBUG Loaded execution endpoint endpoint: http://localhost:8551/, jwt_path: "/tmp/mockel.jwt"
Apr 03 18:31:24.226 INFO Starting checkpoint sync remote_url: https://beaconstate-mainnet.chainsafe.io/
It occurs because DEBUG is longer than INFO. If we pad the spaces so that for all log levels the message starts at the same point, I think this would be remedied.
macladson, ThreeHrSleep and ackintosh