nestjs-graphile-worker
nestjs-graphile-worker copied to clipboard
Customise log verbosity
How do I tweak the log verbosity? Everytime it prints the entire payload. I want some customisation in this.
We use the Nest.JS bultin logger , and every usage of the logger use the Debug level. Which mean that it'll respect your Nest.JS global configuration for the log settings, and you can disable debug log.
But I see we create our custom logger here
https://github.com/madeindjs/nestjs-graphile-worker/blob/ee52244f1a8f2ded06e54412a4f367b9f1587336/src/graphile-worker.module.ts#L115
Maybe we can add a parameters to the module option to let you inject your own logger