Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable console logging? #99

Open
tim-phillips opened this issue Apr 24, 2019 · 3 comments
Open

Disable console logging? #99

tim-phillips opened this issue Apr 24, 2019 · 3 comments

Comments

@tim-phillips
Copy link

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.

@cprass
Copy link

cprass commented Aug 31, 2019

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?

@macedonapp
Copy link

macedonapp commented Sep 2, 2019

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

@tim-phillips
Copy link
Author

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])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants