jss icon indicating copy to clipboard operation
jss copied to clipboard

Configurable Loglevel

Open monkey-ldb opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe.

I only want to log error messages, no info/warn, but I can only configure debug=true/false. There seems no other way to pass this parameter to the http proxy framework, which is used. https://github.com/Sitecore/jss/blob/af8d48cf53ab1547d8e0566a78ab7fbfad7c54f0/packages/sitecore-jss-proxy/src/index.ts#L556

Describe the solution you'd like

config parameter to pass the expected log level

Notes

Would be good if this feature will be added also to older versions, like 18.0

monkey-ldb avatar Jan 25 '22 17:01 monkey-ldb

Hi @monkey-ldb. This is a great suggestion. I've added this to our backlog to prioritize.

We also gladly accept PRs if you're willing. Check the contributing guide as it has had recent updates and we'll be happy to merge it in.

ambrauer avatar Mar 17 '22 18:03 ambrauer