summary refs log tree commit diff
path: root/util/src
diff options
context:
space:
mode:
authorxnacly <matteogropp@protonmail.com>2021-09-01 22:10:14 +0200
committerxnacly <matteogropp@protonmail.com>2021-09-01 22:10:14 +0200
commit759df843c2232d550b18ec79ae9f9d237d8938a7 (patch)
tree58a07d6095caeac40a5eeea7bccb53bb4b4576e3 /util/src
parentMerge pull request #302 from sudenoh/master (diff)
downloadserver-759df843c2232d550b18ec79ae9f9d237d8938a7.tar.xz
removed logging of database queries
Diffstat (limited to 'util/src')
-rw-r--r--util/src/util/Database.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/src/util/Database.ts b/util/src/util/Database.ts
index c22d8abd..d3844cd9 100644
--- a/util/src/util/Database.ts
+++ b/util/src/util/Database.ts
@@ -21,7 +21,7 @@ export function initDatabase() {
 		//
 		entities: Object.values(Models).filter((x) => x.constructor.name !== "Object"),
 		synchronize: true,
-		logging: true,
+		logging: false,
 		cache: {
 			duration: 1000 * 3, // cache all find queries for 3 seconds
 		},