summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/models/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/index.js b/lib/models/index.js
index 0679a7fc..e3aa8bf3 100644
--- a/lib/models/index.js
+++ b/lib/models/index.js
@@ -10,7 +10,7 @@ var config = require('../config')
var logger = require('../logger')
var dbconfig = cloneDeep(config.db)
-dbconfig.logger = config.debug ? logger.info : false
+dbconfig.logging = config.debug ? logger.info : false
var sequelize = null