Browse Source

Show SQL query log on non-production

pull/6/head
Menci 5 years ago
parent
commit
47c1601c99
  1. 2
      app.js

2
app.js

@ -167,7 +167,7 @@ global.syzoj = {
database: this.config.db.database,
entities: models,
synchronize: true,
logging: false,
logging: !syzoj.production,
extra: {
connectionLimit: 50
}

Loading…
Cancel
Save