It is possible to stop notice logs from appearing?
Hi there. So I'm using postgres and I run execute with table truncate.
No matter what I try I always get some stuff spammed into the console. Same applies for migration scripts.
Overriding logger or writer doesn't help in this case.
Thanks
4 Replies
what kind of logs?
These kinds:
For reference here is the script that triggers it.
If I do, let say
I also get this logged I wish I could disable these somehow.
I also get this logged I wish I could disable these somehow.
Those logs are directly from the
postgres
package (which is logging them directly from the database connection) if I remember correctly, not sure if there is a way to disable them loggingIn the docs of Drizzle, there is definitely no way to disable them.
But I think it figured how it can be disabled.
Hence:
Worked like a charm, but wondering why original wrapper doesn't somehow redirects that to the logger.