vapor / fluent-postgres-driver

🐘 PostgreSQL driver for Fluent.
MIT License
149 stars 53 forks source link

Make SQL Log Level Configurable #182

Closed 0xTim closed 3 years ago

0xTim commented 3 years ago

Adds the option to set the log level at which SQL queries are logged. Defaults to .debug.

0xTim commented 3 years ago

@gwynne probably eventually. I think the issue at the moment is that the logging is done in the low level drivers for SQLite and MySQL so we'd either need to ferry it all down or align it with Postgres and do the logging in the driver.

This was added here as II need it for a client 😅

VaporBot commented 3 years ago

These changes are now available in 2.2.0