aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/default.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'config/default.yaml')
-rw-r--r--config/default.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 2c1b9c64f..7e07165b9 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -27,6 +27,10 @@ rates_limit:
27 # 3 attempts in 5 min 27 # 3 attempts in 5 min
28 window: 5 minutes 28 window: 5 minutes
29 max: 3 29 max: 3
30 receive_client_log:
31 # 10 attempts in 10 min
32 window: 10 minutes
33 max: 10
30 34
31# Proxies to trust to get real client IP 35# Proxies to trust to get real client IP
32# If you run PeerTube just behind a local proxy (nginx), keep 'loopback' 36# If you run PeerTube just behind a local proxy (nginx), keep 'loopback'
@@ -168,15 +172,22 @@ object_storage:
168 172
169log: 173log:
170 level: 'info' # 'debug' | 'info' | 'warn' | 'error' 174 level: 'info' # 'debug' | 'info' | 'warn' | 'error'
175
171 rotation: 176 rotation:
172 enabled : true # Enabled by default, if disabled make sure that 'storage.logs' is pointing to a folder handled by logrotate 177 enabled : true # Enabled by default, if disabled make sure that 'storage.logs' is pointing to a folder handled by logrotate
173 max_file_size: 12MB 178 max_file_size: 12MB
174 max_files: 20 179 max_files: 20
180
175 anonymize_ip: false 181 anonymize_ip: false
182
176 log_ping_requests: true 183 log_ping_requests: true
177 log_tracker_unknown_infohash: true 184 log_tracker_unknown_infohash: true
185
178 prettify_sql: false 186 prettify_sql: false
179 187
188 # Accept warn/error logs coming from the client
189 accept_client_log: true
190
180# Highly experimental support of Open Telemetry 191# Highly experimental support of Open Telemetry
181open_telemetry: 192open_telemetry:
182 metrics: 193 metrics: