SSI-SDK icon indicating copy to clipboard operation
SSI-SDK copied to clipboard

Adjusting logging behavior

Open ja-bravo opened this issue 1 year ago • 1 comments

Hello!

We're seeing logs in production that contain the SD-JWT payload when a credential is issued image

Is there any way to adjust the behaviour? Ideally we would like to be control the log level so in production we're only logging error events.

I've tried digging through the code and I think I've pinpointed this log to this logger but I can't figure out a way to increase the minimum log level

Thanks 😄

ja-bravo avatar Sep 23 '24 16:09 ja-bravo

In my case, I want to decrease the log level from INFO to debug and/or TRACE to debug issues.

Would it be an option to simply use one of many stdout loggers for npm that adhere to log levels already?

berkes avatar Mar 05 '25 13:03 berkes