Logging
Ariadne logs all errors using default the ariadne
logger. To define a custom logger instead, pass its name to the logger
argument when instantiating your application:
from ariadne.wsgi import GraphQL
from .schema import schema
app = GraphQL(schema, logger="admin.graphql")
The logger
argument is supported by following functions and objects:
ariadne.graphql
ariadne.graphql_sync
ariadne.subscription
ariadne.asgi.GraphQL
ariadne.wsgi.GraphQL