Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

**scribe** is a **syslog-ng** and **logrotate** installer for ASUS routers running **Asuswrt-Merlin**

## v3.2.9
### Updated on 2026-Feb-07
## v3.2.10
### Updated on 2026-Feb-14

## Getting Started

Expand Down
10 changes: 5 additions & 5 deletions scribe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# curl --retry 3 "https://raw.githubusercontent.com/AMTM-OSR/scribe/master/scribe.h" -o "/jffs/scripts/scribe" && chmod 0755 /jffs/scripts/scribe && /jffs/scripts/scribe install
#
##################################################################
# Last Modified: 2026-Feb-07
# Last Modified: 2026-Feb-14
#-----------------------------------------------------------------

################ Shellcheck directives ################
Expand All @@ -34,8 +34,8 @@
#################################################################

readonly script_name="scribe"
readonly scribe_ver="v3.2.9"
readonly scriptVer_TAG="26020700"
readonly scribe_ver="v3.2.10"
readonly scriptVer_TAG="26021400"
scribe_branch="develop"
script_branch="$scribe_branch"

Expand Down Expand Up @@ -1397,13 +1397,13 @@ _Generate_ListOf_Filtered_LogFiles_()
then
while read -r theLINE && [ -n "$theLINE" ]
do
logFilePath="$(echo "$theLINE" | sed -e 's/^[ ]*file("//;s/".*$//')"
logFilePath="$(echo "$theLINE" | sed -e 's/.*[{ ]\?file("//;s/".*$//')"
if grep -qE "^${logFilePath}$" "$tmpFilterList"
then continue #Avoid duplicates#
fi
echo "$logFilePath" >> "$tmpFilterList"
done <<EOT
$(grep -A 1 "^destination" "$tmpSysLogList" | grep -E '[[:blank:]]*file\("/' | grep -v '.*/log/messages')
$(grep -A1 "^destination" "$tmpSysLogList" | grep -E '.*[{ ]file\("/opt/var/' | grep -v '.*/log/messages')
EOT
fi

Expand Down