From 7b211c57d6a007c2544119196515efd3396ff791 Mon Sep 17 00:00:00 2001 From: Martinski4GitHub <119833648+Martinski4GitHub@users.noreply.github.com> Date: Sun, 21 Dec 2025 01:38:06 -0800 Subject: [PATCH] Modified logrotate Directive Modified logrotate directive for compression. --- README.md | 2 +- uiScribe.sh | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f6a6de0..e53ad45 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # uiScribe ## v1.4.10 -### Updated on 2025-Dec-19 +### Updated on 2025-Dec-21 ## About uiScribe updates the System Log page to show log files created by Scribe (syslog-ng). Requires [**Scribe**](https://github.com/cynicastic/scribe) diff --git a/uiScribe.sh b/uiScribe.sh index e07021c..d8d09be 100644 --- a/uiScribe.sh +++ b/uiScribe.sh @@ -13,7 +13,7 @@ ## Forked from https://github.com/jackyaz/uiScribe ## ## ## ######################################################## -# Last Modified: 2025-Dec-19 +# Last Modified: 2025-Dec-20 #------------------------------------------------------- ########### Shellcheck directives ########## @@ -30,7 +30,7 @@ ### Start of script variables ### readonly SCRIPT_NAME="uiScribe" readonly SCRIPT_VERSION="v1.4.10" -readonly SCRIPT_VERSTAG="25121920" +readonly SCRIPT_VERSTAG="25122023" SCRIPT_BRANCH="develop" SCRIPT_REPO="https://raw.githubusercontent.com/AMTM-OSR/$SCRIPT_NAME/$SCRIPT_BRANCH" readonly SCRIPT_DIR="/jffs/addons/${SCRIPT_NAME}.d" @@ -1050,7 +1050,7 @@ _Set_LogRotateClear_ConfigOptions_() size 0k rotate 25 maxage 25 - compress + delaycompress create dateext dateformat -%Y%m%d%H%M%S @@ -1076,7 +1076,6 @@ _Set_LogRotate_ConfigOptions_() maxsize 4096k rotate 4 maxage 30 - compress delaycompress create dateext