Nicolas Saudrais
12/13/2021, 3:26 PM// script.ts
const prisma = new PrismaClient({
log: ['query', 'info', 'warn', 'error'],
})
and
# .env file
DEBUG="*"
This doesn’t show anything in the console except my script logs. Is this normal / should the mongo connector log the queries it generates when log: [‘query’] flag is turned on? Thanks a lot in advance! 🙂Nicolas Saudrais
12/13/2021, 3:41 PM