From fcf4569f2da9ebcdc43caf8276f82098c89e5677 Mon Sep 17 00:00:00 2001 From: Nassim Bounouas Date: Tue, 11 Jun 2019 14:30:44 +0200 Subject: 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 --- server/initializers/config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/initializers') 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 = { }, TRUST_PROXY: config.get('trust_proxy'), LOG: { - LEVEL: config.get('log.level') + LEVEL: config.get('log.level'), + ROTATION: config.get('log.rotation.enabled') }, SEARCH: { REMOTE_URI: { -- cgit v1.2.3