Better sorting / auto delete?Suggestion
This is a very useful plugin, but it can be a bit of a challenge keeping on top of it. Two things that I really think would help are:

1. Create a new folder with the current date each day. That way it's a bit easier to sort through and much easier to remove logs every 24/48 hours without having to select and delete them file by file.

2. Auto deletion of old logs. Separating by day would make things much easier already, but if those folders could delete themselves once they're more than a day or two old, that would be even better.
In response to AFX337 ():
This is a very useful plugin, but it can be a bit of a challenge keeping on top of it. Two things th...
+1 for Auto delete and a folder/day

Heya,

Old thread I know but I whipped this up in bash to run daily. It sorts all logs into a directory structure like '/<name_of_object>/<unique_id>/<filename>'. Example:

storagecontainer-box.wooden.large/46916950/lootlogs_storagecontainer-box.wooden.large-46916950-2021-07-29.txt

#!/bin/bash

# normal lootlogs look like this:
# forward: ./lootlogs_storagecontainer-box.wooden.large-5080033-2021-07-28.txt
# reversed: txt.22-70-1202-39239043-egral.nedoow.xob-reniatnocegarots_sgoltool/.

# A deaths lootlog is like:
# forward: ./lootlogs_baseoven-deaths-2021-07-23.txt
# reverse: txt.32-70-1202-shtaed-nevoesab_sgoltool/.
LOGDIR="/home/${USER}/rust/serverfiles/oxide/logs/LootLogs"

cd ${LOGDIR}

touch -t `date +%m%d0000` /tmp/${USER}/$$

find . -maxdepth 1 -type f -not -newer /tmp/${USER}/$$ -name "lootlogs_*.txt" | while read _name; do
_id=''
_dir=''
if [[ "$_name" == *deaths* ]]; then
_dir=$(echo $_name | rev | cut -d- -f4- | awk -F'_sgoltool' '{print $1}' | rev) # output: baseoven
else
_id=$(echo $_name | rev | cut -d- -f4 | rev) # output: 123456789
_dir=$(echo $_name | rev | cut -d- -f5- | awk -F'_sgoltool' '{print $1}' | rev) # output: storagecontainer-box.wooden.large
fi
mkdir -p ./${_dir}/${_id}
mv $_name ./${_dir}/${_id}
done
rm /tmp/${USER}/$$