mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-04 02:05:06 +02:00
Update server/Database.js
This commit is contained in:
parent
b64ecc7c6f
commit
1ab34fa77f
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue