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
maxGraphQLVariablesLength
is512
, which causesmeta.graphql.variables
to be truncated after512
characters 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()
fromLogger
class.
Add handling for requestId
(#18)
Fix logging of GraphQL response in case of errors (@symn in #3).