aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/config.ts
diff options
context:
space:
mode:
authorJohan Fleury <jfleury@arcaik.net>2021-01-07 16:52:37 -0500
committerChocobozzz <chocobozzz@cpy.re>2021-01-13 09:14:43 +0100
commit12c1e38df2fde0efbf948fa80e2afc4e67f0e8c9 (patch)
tree004d31846c078f6e13622fbf2bf0b28bd0db47ea /server/initializers/config.ts
parentb7085c713220c9c5a96c9bb77330c2ba6ae9274e (diff)
downloadPeerTube-12c1e38df2fde0efbf948fa80e2afc4e67f0e8c9.tar.gz
PeerTube-12c1e38df2fde0efbf948fa80e2afc4e67f0e8c9.tar.zst
PeerTube-12c1e38df2fde0efbf948fa80e2afc4e67f0e8c9.zip
feat: allow administrator to disable logging of ping requests
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 0f58dc1d4..1630f7f0c 100644
--- a/server/initializers/config.ts
+++ b/server/initializers/config.ts
@@ -104,7 +104,8 @@ const CONFIG = {
104 MAX_FILE_SIZE: bytes.parse(config.get<string>('log.rotation.maxFileSize')), 104 MAX_FILE_SIZE: bytes.parse(config.get<string>('log.rotation.maxFileSize')),
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 }, 109 },
109 TRENDING: { 110 TRENDING: {
110 VIDEOS: { 111 VIDEOS: {