aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-20 16:14:55 +0200
committerChocobozzz <me@florianbigard.com>2021-10-20 16:29:41 +0200
commit97b6428af78d7b00d9b57e1a317d1355f5e76939 (patch)
treeda8aecbb965ba77d9bf26accf0468a24de9a8d65 /server/initializers
parent400043b1be38cdd7bc39462fa6a545eea0bea03e (diff)
downloadPeerTube-97b6428af78d7b00d9b57e1a317d1355f5e76939.tar.gz
PeerTube-97b6428af78d7b00d9b57e1a317d1355f5e76939.tar.zst
PeerTube-97b6428af78d7b00d9b57e1a317d1355f5e76939.zip
Breaking: fix inconsistencies in configuration
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/config.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts
index 48bb5ab8e..3a7c72a1c 100644
--- a/server/initializers/config.ts
+++ b/server/initializers/config.ts
@@ -131,10 +131,10 @@ const CONFIG = {
131 LEVEL: config.get<string>('log.level'), 131 LEVEL: config.get<string>('log.level'),
132 ROTATION: { 132 ROTATION: {
133 ENABLED: config.get<boolean>('log.rotation.enabled'), 133 ENABLED: config.get<boolean>('log.rotation.enabled'),
134 MAX_FILE_SIZE: bytes.parse(config.get<string>('log.rotation.maxFileSize')), 134 MAX_FILE_SIZE: bytes.parse(config.get<string>('log.rotation.max_file_size')),
135 MAX_FILES: config.get<number>('log.rotation.maxFiles') 135 MAX_FILES: config.get<number>('log.rotation.max_files')
136 }, 136 },
137 ANONYMIZE_IP: config.get<boolean>('log.anonymizeIP'), 137 ANONYMIZE_IP: config.get<boolean>('log.anonymize_ip'),
138 LOG_PING_REQUESTS: config.get<boolean>('log.log_ping_requests'), 138 LOG_PING_REQUESTS: config.get<boolean>('log.log_ping_requests'),
139 PRETTIFY_SQL: config.get<boolean>('log.prettify_sql') 139 PRETTIFY_SQL: config.get<boolean>('log.prettify_sql')
140 }, 140 },