aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorNassim Bounouas <NassimBounouas@users.noreply.github.com>2019-06-11 14:30:44 +0200
committerChocobozzz <me@florianbigard.com>2019-06-11 14:30:44 +0200
commitfcf4569f2da9ebcdc43caf8276f82098c89e5677 (patch)
tree93a5657ecf71bddeffe78ba6cce03292692d45ab /config
parentdd2c2a52ccd07bcb2317dcc6ce45a2291e6bad62 (diff)
downloadPeerTube-fcf4569f2da9ebcdc43caf8276f82098c89e5677.tar.gz
PeerTube-fcf4569f2da9ebcdc43caf8276f82098c89e5677.tar.zst
PeerTube-fcf4569f2da9ebcdc43caf8276f82098c89e5677.zip
Feature/logrotation (#1881)
* #1775 Configure the activation or deactivation of winston log rotation * Winston log rotation enabled by default #1775 * #1775 tslint correction * #1775 FileTransportOptions typed and configuration files * #1775 tslint correction * #1775 log.rotation.enabled configuration binding
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml2
-rw-r--r--config/production.yaml.example2
2 files changed, 4 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index e4e2d2273..a213d5b0a 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -75,6 +75,8 @@ storage:
75 75
76log: 76log:
77 level: 'info' # debug/info/warning/error 77 level: 'info' # debug/info/warning/error
78 rotation:
79 enabled : true # Enabled by default, if disabled make sure that 'storage.logs' is pointing to a folder handled by logrotate
78 80
79search: 81search:
80 # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance 82 # 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 bd0d956bd..cdf6136d8 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -76,6 +76,8 @@ storage:
76 76
77log: 77log:
78 level: 'info' # debug/info/warning/error 78 level: 'info' # debug/info/warning/error
79 rotation:
80 enabled : true
79 81
80search: 82search:
81 # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance 83 # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance