Closed tonyarnold closed 11 months ago
Hi,
This driver fully reuses the Fluent DB configuration you have setup for your app. In that sense, it does not control or restrict what Fluent itself logs.
IIRC the default log level of Fluent is .trace
which logs every single query.
If you lower it to .debug
for example, you shouldn't see any raw queries getting logged.
Example:
app.databases.use(
.postgres(
hostname: "localhost",
username: "...",
password: "",
database: "...",
encoder: .init(),
sqlLogLevel: .debug // HERE
),
as: .psql,
isDefault: true
)
I understand that it's Fluent doing the logging - perhaps this is an issue better raised over on the FluentKit repository.
It would be amazing, and massively improve debugging of other issues if this driver had a way to quieten the update check SQL calls: