diff --git a/src/adapters/database/MongooseAdapter.js b/src/adapters/database/MongooseAdapter.js index 7bae112e..6f5b6ec8 100644 --- a/src/adapters/database/MongooseAdapter.js +++ b/src/adapters/database/MongooseAdapter.js @@ -27,6 +27,6 @@ export default class MongooseAdapter extends IDatabaseAdapter { async disconnect() { await mongoose.disconnect(); - console.warn("Database disconnected."); + logger.warn("Database disconnected."); } }