iotex-core icon indicating copy to clipboard operation
iotex-core copied to clipboard

A better log format

Open raullenchai opened this issue 2 years ago • 2 comments

Consider lighthouse's log format

Lvd7NvwkbX

raullenchai avatar Jun 27 '22 16:06 raullenchai

just one line change like this: https://github.com/rs/zerolog#pretty-logging

Example: image

guo avatar Jun 27 '22 17:06 guo

the current json output is for purpose of ELK processing, if we want a better console output, need to make sure does not break ELK functionality (like still outpu json to log file, but print out a better format to console)

dustinxie avatar Jun 27 '22 17:06 dustinxie