From 86bbab75ae414f19305970e2aa8aaeb05e6990ae Mon Sep 17 00:00:00 2001 From: zsdc Date: Fri, 17 Dec 2021 16:41:50 +0200 Subject: logs: T3774: Optimization for logrotate configs * Added proper handling of default values from CLI. * Replaced rsyslog restart postrotate action to native `rsyslog-rotate` script. * Removed unnecessary checks for `None` instead `dict` - with default values the situation becomes impossible. * Fixed default value from 10 to 1 in the rsyslog CLI. --- interface-definitions/system-logs.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interface-definitions') diff --git a/interface-definitions/system-logs.xml.in b/interface-definitions/system-logs.xml.in index dc5751372..8b6c7c399 100644 --- a/interface-definitions/system-logs.xml.in +++ b/interface-definitions/system-logs.xml.in @@ -65,7 +65,7 @@ The size must be between 1 and 1024 MB - 10 + 1 -- cgit v1.2.3