Output a JSON log #1022
Labels
c:common
Category: common libraries
p:2
Priority: desired feature
s:good first issue
Status: good for newcomers
In order to improve the logging as a debugging tool it would be nice to have JSON logs from all containers so that we easily parse (our centralized logging does this automatically) information to have more organized and easier to search through logs.
Useful information to have in logs:
Some caveats with our logging infrastructure:
{"foo": 13, "message": "hello"}
the type for foo will be a number for the rest of the day. If, later in the same day, elasticsearch encounters a log{"foo": "some_string", "message": "hello"}
then the log message will fail to parse correctly, an error will be generated on the logstash logs, and elasticsearch will NOT have that data available.An identical issue will also be posted on runtime-ethereum
Acceptance Criteria
The text was updated successfully, but these errors were encountered: