We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 590a124 commit 5a27e9dCopy full SHA for 5a27e9d
index.js
@@ -21,7 +21,7 @@ mongoose.connection.on('error', () => {
21
});
22
23
// print mongoose logs in dev env
24
-if (config.MONGOOSE_DEBUG) {
+if (config.mongooseDebug) {
25
mongoose.set('debug', (collectionName, method, query, doc) => {
26
debug(`${collectionName}.${method}`, util.inspect(query, false, 20), doc);
27
0 commit comments