blobber icon indicating copy to clipboard operation
blobber copied to clipboard

[FEATURE] Logging: improve logging in the blobber endpoints

Open kushthedude opened this issue 3 years ago • 3 comments

Problem:

There is zero to none logging in comparison to the errors being catched, without logging it will be almost impossible in later period of time to do RCA for any issue.

Solution:

Follow logging levels, create configurations, add different loggers with their respective logging level wherever deemed to be with error catching to ensure top observability.

kushthedude avatar Aug 04 '21 15:08 kushthedude

linked to https://github.com/0chain/0chain/issues/417

cnlangzi avatar Aug 05 '21 02:08 cnlangzi

@cnlangzi I like to work on it.

PratikDhanave avatar Mar 09 '22 10:03 PratikDhanave

completely agreed @kushthedude - I'd like to see each request logged with a unique transaction id and return this to the user on error https://0chain.slack.com/archives/C028ZCJT6LU/p1628543067137800

stewartie4 avatar Mar 13 '22 23:03 stewartie4