diff options
author | Nassim Bounouas <NassimBounouas@users.noreply.github.com> | 2019-06-11 14:30:44 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-06-11 14:30:44 +0200 |
commit | fcf4569f2da9ebcdc43caf8276f82098c89e5677 (patch) | |
tree | 93a5657ecf71bddeffe78ba6cce03292692d45ab /config/default.yaml | |
parent | dd2c2a52ccd07bcb2317dcc6ce45a2291e6bad62 (diff) | |
download | PeerTube-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/default.yaml')
-rw-r--r-- | config/default.yaml | 2 |
1 files changed, 2 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 | ||
76 | log: | 76 | log: |
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 | ||
79 | search: | 81 | search: |
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 |