Limit the size of logged variables for meta.graphql in the middleware logger
via maxGraphQLVariablesLength. It's possible that variables is a big object that could bloat the payload.
- The default length for
maxGraphQLVariablesLengthis512, which causesmeta.graphql.variablesto be truncated after512characters by default.
Update devDependencies and dependencies. Update to newest winston and
express-winston. Adapt to breaking changes. (#20)
- Supported Node.js version changed to >= 20.
- Removed
destroy()fromLoggerclass.
Add handling for requestId (#18)
Fix logging of GraphQL response in case of errors (@symn in #3).