Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Is there a way to customize a logger #774

Open
Kostanos opened this issue Aug 21, 2021 · 1 comment
Open

Is there a way to customize a logger #774

Kostanos opened this issue Aug 21, 2021 · 1 comment

Comments

@Kostanos
Copy link

We are using a JSON logging (pino module in particular)
Express, and other our custom modules are using pino
But the standard graphql responses like: [50] Must provide query string. for example are not json formatted.
Is there a standard (easy) way to replace express-graphql logger with a custom one (pino in our case)

Thank you.

@enisdenjo
Copy link
Member

This library has been deprecated and this repo will be archived soon. It has been superseded by graphql-http.

Furthermore, if you seek a fully-featured, well-maintained and performant server - I heavily recommend GraphQL Yoga!

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

No branches or pull requests

2 participants