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