From 1e743faafeed89af13ee9dd3d62c1ceb696779cd Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 26 Jan 2021 09:54:32 +0100 Subject: Disable sql prettifier by default It adds too much lines, leading to difficulties when reading dev logs --- server/initializers/config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/initializers') 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 = { MAX_FILES: config.get('log.rotation.maxFiles') }, ANONYMIZE_IP: config.get('log.anonymizeIP'), - LOG_PING_REQUESTS: config.get('log.log_ping_requests') + LOG_PING_REQUESTS: config.get('log.log_ping_requests'), + PRETTIFY_SQL: config.get('log.prettify_sql') }, TRENDING: { VIDEOS: { -- cgit v1.2.3