mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-08 00:08:14 +01:00
Update server/Database.js
This commit is contained in:
parent
b64ecc7c6f
commit
1ab34fa77f
@ -167,8 +167,8 @@ class Database {
|
||||
async connect() {
|
||||
Logger.info(`[Database] Initializing db at "${this.dbPath}"`)
|
||||
|
||||
let logging = false;
|
||||
let benchmark = false;
|
||||
let logging = false
|
||||
let benchmark = false
|
||||
if (process.env.QUERY_LOGGING === "log") {
|
||||
// Setting QUERY_LOGGING=log will log all Sequelize queries before they run
|
||||
Logger.info(`[Database] Query logging enabled`)
|
||||
|
Loading…
Reference in New Issue
Block a user