aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/config.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-01-26 09:54:32 +0100
committerChocobozzz <me@florianbigard.com>2021-01-26 09:54:32 +0100
commit1e743faafeed89af13ee9dd3d62c1ceb696779cd (patch)
tree059b37295b8507ad9c858f19ed113cec44908a4b /server/initializers/config.ts
parent448487a60216dcfe1ae29fa581cb31c726f1441b (diff)
downloadPeerTube-1e743faafeed89af13ee9dd3d62c1ceb696779cd.tar.gz
PeerTube-1e743faafeed89af13ee9dd3d62c1ceb696779cd.tar.zst
PeerTube-1e743faafeed89af13ee9dd3d62c1ceb696779cd.zip
Disable sql prettifier by default
It adds too much lines, leading to difficulties when reading dev logs
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r--server/initializers/config.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts
index ba79b4ea1..c7ef9b497 100644
--- a/server/initializers/config.ts
+++ b/server/initializers/config.ts
@@ -105,7 +105,8 @@ const CONFIG = {
105 MAX_FILES: config.get<number>('log.rotation.maxFiles') 105 MAX_FILES: config.get<number>('log.rotation.maxFiles')
106 }, 106 },
107 ANONYMIZE_IP: config.get<boolean>('log.anonymizeIP'), 107 ANONYMIZE_IP: config.get<boolean>('log.anonymizeIP'),
108 LOG_PING_REQUESTS: config.get<boolean>('log.log_ping_requests') 108 LOG_PING_REQUESTS: config.get<boolean>('log.log_ping_requests'),
109 PRETTIFY_SQL: config.get<boolean>('log.prettify_sql')
109 }, 110 },
110 TRENDING: { 111 TRENDING: {
111 VIDEOS: { 112 VIDEOS: {