diff options
author | Johan Fleury <jfleury@arcaik.net> | 2021-01-07 16:52:37 -0500 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-01-13 09:14:43 +0100 |
commit | 12c1e38df2fde0efbf948fa80e2afc4e67f0e8c9 (patch) | |
tree | 004d31846c078f6e13622fbf2bf0b28bd0db47ea /server/initializers | |
parent | b7085c713220c9c5a96c9bb77330c2ba6ae9274e (diff) | |
download | PeerTube-12c1e38df2fde0efbf948fa80e2afc4e67f0e8c9.tar.gz PeerTube-12c1e38df2fde0efbf948fa80e2afc4e67f0e8c9.tar.zst PeerTube-12c1e38df2fde0efbf948fa80e2afc4e67f0e8c9.zip |
feat: allow administrator to disable logging of ping requests
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/config.ts | 3 |
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: { |