aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-12-12 17:15:38 +0100
committerChocobozzz <me@florianbigard.com>2019-12-12 17:15:38 +0100
commit2f6b5e2d6ebcac88d9005ea2654ffa77907d5db2 (patch)
treef6890c9f7acbccb05157c876c20b0f684eb80836 /config
parent22a73cb879a5cc775d4bec3d72fa9c9cf52e5175 (diff)
downloadPeerTube-2f6b5e2d6ebcac88d9005ea2654ffa77907d5db2.tar.gz
PeerTube-2f6b5e2d6ebcac88d9005ea2654ffa77907d5db2.tar.zst
PeerTube-2f6b5e2d6ebcac88d9005ea2654ffa77907d5db2.zip
Add max file size, max files and ip anonymize log options
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml3
-rw-r--r--config/production.yaml.example3
2 files changed, 6 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 7c718e174..7fe817aa0 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -86,6 +86,9 @@ log:
86 level: 'info' # debug/info/warning/error 86 level: 'info' # debug/info/warning/error
87 rotation: 87 rotation:
88 enabled : true 88 enabled : true
89 maxFileSize: 12MB
90 maxFiles: 20
91 anonymizeIP: false
89 92
90search: 93search:
91 # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance 94 # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 98b1669cd..629d0c4b6 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -87,6 +87,9 @@ log:
87 level: 'info' # debug/info/warning/error 87 level: 'info' # debug/info/warning/error
88 rotation: 88 rotation:
89 enabled : true # Enabled by default, if disabled make sure that 'storage.logs' is pointing to a folder handled by logrotate 89 enabled : true # Enabled by default, if disabled make sure that 'storage.logs' is pointing to a folder handled by logrotate
90 maxFileSize: 12MB
91 maxFiles: 20
92 anonymizeIP: false
90 93
91search: 94search:
92 # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance 95 # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance