Prisma info
log level doesn't emit event
#19256
Labels
bug/0-unknown
Bug is new, does not have information for reproduction or reproduction could not be confirmed.
domain/client
Issue in the "Client" domain: Prisma Client, Prisma Studio etc.
kind/bug
A reported bug.
tech/typescript
Issue for tech TypeScript.
topic: connection pool
topic: logging
Bug description
When setting the client log level, if you set
{ emit: 'event', level: 'info' }
you won't get a log about the pool initializing with connections. If you set{ emit: 'stdout', level: 'info' }
, you do.How to reproduce
Omitting some boilerplate, this will emit a log event when initializing:
While setting it up to emit as an event, we don't get that log about the pool starting:
Expected behavior
Get the same info printout about the connection pool starting when emitting
info
levels as events.Prisma information
Schema not relevant
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: