From 678f1466d252d861f4f46fede7d3847e1bd67e3e Mon Sep 17 00:00:00 2001 From: einhorn_b Date: Tue, 1 Aug 2023 13:59:06 +0200 Subject: [PATCH] enable logfile compression --- backend/log4js-config.json | 5 +++++ dht-node/log4js-config.json | 2 ++ dlt-connector/log4js-config.json | 2 ++ federation/log4js-config.json | 5 +++++ 4 files changed, 14 insertions(+) diff --git a/backend/log4js-config.json b/backend/log4js-config.json index 160883eb3..e614520df 100644 --- a/backend/log4js-config.json +++ b/backend/log4js-config.json @@ -10,6 +10,7 @@ { "type": "pattern", "pattern": "%d{ISO8601} %p %c [%X{user}] [%f : %l] - %m" }, + "compress": true, "keepFileExt" : true, "fileNameSep" : "_", "numBackups" : 30 @@ -23,6 +24,7 @@ { "type": "pattern", "pattern": "%d{ISO8601} %p %c [%X{user}] [%f : %l] - %m" }, + "compress": true, "keepFileExt" : true, "fileNameSep" : "_", "numBackups" : 30 @@ -36,6 +38,7 @@ { "type": "pattern", "pattern": "%d{ISO8601} %p %c [%X{user}] [%f : %l] - %m" }, + "compress": true, "keepFileExt" : true, "fileNameSep" : "_", "numBackups" : 30 @@ -49,6 +52,7 @@ { "type": "pattern", "pattern": "%d{ISO8601} %p %c [%X{user}] [%f : %l] - %m" }, + "compress": true, "keepFileExt" : true, "fileNameSep" : "_", "numBackups" : 30 @@ -62,6 +66,7 @@ { "type": "pattern", "pattern": "%d{ISO8601} %p %c [%X{user}] [%f : %l] - %m %s" }, + "compress": true, "keepFileExt" : true, "fileNameSep" : "_", "numBackups" : 30 diff --git a/dht-node/log4js-config.json b/dht-node/log4js-config.json index 3e5cc59ec..ee5207550 100644 --- a/dht-node/log4js-config.json +++ b/dht-node/log4js-config.json @@ -10,6 +10,7 @@ { "type": "pattern", "pattern": "%d{ISO8601} %p %c [%X{user}] [%f : %l] - %m" }, + "compress": true, "keepFileExt" : true, "fileNameSep" : "_", "numBackups" : 30 @@ -23,6 +24,7 @@ { "type": "pattern", "pattern": "%d{ISO8601} %p %c [%X{user}] [%f : %l] - %m" }, + "compress": true, "keepFileExt" : true, "fileNameSep" : "_", "numBackups" : 30 diff --git a/dlt-connector/log4js-config.json b/dlt-connector/log4js-config.json index d67db87c8..8b2f1b348 100644 --- a/dlt-connector/log4js-config.json +++ b/dlt-connector/log4js-config.json @@ -10,6 +10,7 @@ { "type": "pattern", "pattern": "%d{ISO8601} %p %c [%X{user}] [%f : %l] - %m" }, + "compress": true, "keepFileExt" : true, "fileNameSep" : "_", "numBackups" : 30 @@ -23,6 +24,7 @@ { "type": "pattern", "pattern": "%d{ISO8601} %p %c [%X{user}] [%f : %l] - %m" }, + "compress": true, "keepFileExt" : true, "fileNameSep" : "_", "numBackups" : 30 diff --git a/federation/log4js-config.json b/federation/log4js-config.json index f9fbc8bf5..e9336f83c 100644 --- a/federation/log4js-config.json +++ b/federation/log4js-config.json @@ -10,6 +10,7 @@ { "type": "pattern", "pattern": "%d{ISO8601} %p %c [%X{user}] [%f : %l] - %m" }, + "compress": true, "keepFileExt" : true, "fileNameSep" : "_", "numBackups" : 30 @@ -23,6 +24,7 @@ { "type": "pattern", "pattern": "%d{ISO8601} %p %c [%X{user}] [%f : %l] - %m" }, + "compress": true, "keepFileExt" : true, "fileNameSep" : "_", "numBackups" : 30 @@ -36,6 +38,7 @@ { "type": "pattern", "pattern": "%d{ISO8601} %p %c [%X{user}] [%f : %l] - %m" }, + "compress": true, "keepFileExt" : true, "fileNameSep" : "_", "numBackups" : 30 @@ -49,6 +52,7 @@ { "type": "pattern", "pattern": "%d{ISO8601} %p %c [%X{user}] [%f : %l] - %m" }, + "compress": true, "keepFileExt" : true, "fileNameSep" : "_", "numBackups" : 30 @@ -62,6 +66,7 @@ { "type": "pattern", "pattern": "%d{ISO8601} %p %c [%X{user}] [%f : %l] - %m" }, + "compress": true, "keepFileExt" : true, "fileNameSep" : "_", "numBackups" : 30