Option to not log "Delete: " entries?

Post Reply
war4peace
Posts: 21
Joined: Fri Oct 27, 2023 6:34 am

Option to not log "Delete: " entries?

Post by war4peace »

This is more a request than a bug report.
My server has several storage entries which are used to store images taken every 5 seconds for timelapses.
All those storage entries (AUXn) are configured to delete all images older than 2 days.
This all works fine, except... the file deletion actions overwhelm the log file.

Example below:

Code: Select all

0 	8/20/2024 4:43:03.690 PM	Alerts              	Delete: over quota 100.0/100.0GB, 842.2GB free
0 	8/20/2024 4:43:03.850 PM	Aux 2               	Delete: over quota 48/48 hrs, 27.6/100.0GB, 842.2GB free
0 	8/20/2024 4:43:03.901 PM	Aux 3               	Delete: over quota 48/48 hrs, 24.2/100.0GB, 842.3GB free
0 	8/20/2024 4:43:04.160 PM	Aux 4               	Delete: over quota 48/48 hrs, 28.6/100.0GB, 842.4GB free
0 	8/20/2024 4:43:04.330 PM	Aux 5               	Delete: over quota 48/48 hrs, 20.9/100.0GB, 842.5GB free
0 	8/20/2024 4:43:04.400 PM	Aux 6               	Delete: over quota 48/48 hrs, 4.84/100.0GB, 842.6GB free
0 	8/20/2024 4:43:04.565 PM	Aux 7               	Delete: over quota 48/48 hrs, 4.35/100.0GB, 842.6GB free
This happens every few minutes, 24/7, and logs balloon to unwieldy sizes.
This in turn affects the BlueIris Exporter service (https://github.com/wymangr/blueiris_exporter) which sees all those entries as "parsing error" and eventually crashes all the time.
My interim solution is to edit the log with Notepad++ and mark all lines containing "Delete: ", then delete all those lines. This needs to be done fairly often (once a day or so) to prevent the log exporter from crashing.

What I would very much appreciate would be a(nother) checkmark in Storage settings which also disables Over Quota file deletions.
Thank you for considering my submission!
Post Reply