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

apollo-server-micro floods console with introspection logs

Open zigzactly opened this issue 5 years ago • 3 comments

Hi i am using apollo-server-micro and running it in dev mode with micro-dev.

When i have playground running, the console gets spammed with the instrospection query logs.

Is there anyway i can mute the introspection logging?

image

Package: apollo-server-micro Version: ^3.0.0

zigzactly avatar Sep 22 '19 14:09 zigzactly

@zigzactly Im confident its not micro's issue, its apollo-server-micro implementation.

There is an issue on apollo server: https://github.com/apollographql/apollo-server/issues/3293

MANTENN avatar Sep 28 '19 04:09 MANTENN

Actually its related to this. I did a little digging. I used the silent flag to remove the request logs. Def a more interactable console will do the job better.

MANTENN avatar Sep 28 '19 04:09 MANTENN

I too would like saner behavior on this.

Even something as simple as

  • logging to stderr instead of stdout, or
  • taking a cli arg for a filename to log to (the file can be overwritten on startup) would make it much better.

sramam avatar May 26 '22 14:05 sramam