stashapp / stash

An organizer for your porn, written in Go. Documentation: https://docs.stashapp.cc
https://stashapp.cc/
GNU Affero General Public License v3.0
8.44k stars 749 forks source link

[Feature] Truncate & Archive Log Files #5009

Open C-BoT-AU opened 1 week ago

C-BoT-AU commented 1 week ago

Turns out trying to open a GB size log file isn't always appreciated by the computer. Would be great to be able to set a file size limit on Log File (eg 50MB), and once exceeding the limit, the log file is archived an a new one created. (Similar to AAR applications)