aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
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 /server/initializers
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 'server/initializers')
-rw-r--r--server/initializers/config.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts
index 2be300a57..50653b0a0 100644
--- a/server/initializers/config.ts
+++ b/server/initializers/config.ts
@@ -83,7 +83,8 @@ const CONFIG = {
83 }, 83 },
84 TRUST_PROXY: config.get<string[]>('trust_proxy'), 84 TRUST_PROXY: config.get<string[]>('trust_proxy'),
85 LOG: { 85 LOG: {
86 LEVEL: config.get<string>('log.level') 86 LEVEL: config.get<string>('log.level'),
87 ROTATION: config.get<boolean>('log.rotation.enabled')
87 }, 88 },
88 SEARCH: { 89 SEARCH: {
89 REMOTE_URI: { 90 REMOTE_URI: {