From ac73200e4f0cf4020dfcd0a11e6004bca479253f Mon Sep 17 00:00:00 2001 From: zsdc Date: Tue, 7 Dec 2021 22:41:27 +0200 Subject: logs: T3774: Added CLI options to control atop logs rotation Added CLI options to generate logrotate configuration file for atop logs --- interface-definitions/system-logs.xml.in | 57 ++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 interface-definitions/system-logs.xml.in (limited to 'interface-definitions/system-logs.xml.in') diff --git a/interface-definitions/system-logs.xml.in b/interface-definitions/system-logs.xml.in new file mode 100644 index 000000000..677f476ff --- /dev/null +++ b/interface-definitions/system-logs.xml.in @@ -0,0 +1,57 @@ + + + + + + + Logging options + 9999 + + + + + Logrotate options + + + + + Atop logs options + + + + + Size of a single log file that triggers rotation + + u32:1-1024 + Size in MB + + + + + The size must be between 1 and 1024 MB + + 10 + + + + Count of rotations before old logs will be deleted + + u32:1-100 + Rotations + + + + + The count must be between 1 and 100 + + 10 + + + + + + + + + + -- cgit v1.2.3