You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using a unique field to check if an item already in the db, and checking the result in the Future.
Currently I'm logging if an entity is already in the db, but fluent is logging the error by default.
Is it possible to silence the error? Or set a custom logger in vapor4?
Thanks in advance, and sorry if it's a noob question
The text was updated successfully, but these errors were encountered:
I've also put up a PR (#345) that adds a logging(to:) method to Database for temporarily overriding the logger. You can use the same method of creating a new logger with its log level changed, but with logging(to:) you can more precisely set just the database's logger.
Hi!
I'm using a unique field to check if an item already in the db, and checking the result in the Future.
Currently I'm logging if an entity is already in the db, but fluent is logging the error by default.
Is it possible to silence the error? Or set a custom logger in vapor4?
Thanks in advance, and sorry if it's a noob question
The text was updated successfully, but these errors were encountered: