micro-dev icon indicating copy to clipboard operation
micro-dev copied to clipboard

Disable console logging?

Open tim-phillips opened this issue 5 years ago • 3 comments

I love the req / res logging to the console, but it'd be nice to disable for large json payloads if one doesn't want to see them.

tim-phillips avatar Apr 24 '19 01:04 tim-phillips

Same here, I love the request logging, but I don't need to see the whole JSON body. With Apollo the log gets so big it makes it unpractical. Is there any way to disable that?

cprass avatar Aug 31 '19 15:08 cprass

Im not sure where or if it is documented, but the help menu brings up: -s, --silent Disable requests log

macedonapp avatar Sep 02 '19 11:09 macedonapp

Thanks @macedonapp, after trying that out I see that -s disables all logging to console.

It would be nice to disable req/res body logging while still seeing the more general req/res logging (e.g. keeping > #4 GET / and < #4 200 [+7ms])

tim-phillips avatar Sep 07 '19 21:09 tim-phillips