micro-dev
micro-dev copied to clipboard
Disable console logging?
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.
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?
Im not sure where or if it is documented, but the help menu brings up:
-s, --silent Disable requests log
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]
)