The log files could eat up significant amount of disk space after some day of running
Create new logfile every day, only keep last 10 one.
Please, make it optional, by allowing the user to set the limit (1 day/2 days/10 days/1 month can be useful) and disable it at all.
please have optional + options
Usually logs rotate on filesize rather than time so that people know the exact max filesize the logs can be.
Then instead of multiple hours/day/month options you can just set the size in bytes.
I never seen a log rotate based on size (just checked my /etc/logrotate.d and all rotates daily/monthly) and I see no reason to disable it, but the number of the kept files will be configurable
I know systemd (journalctl) does, but after looking it up I think you're right, most things seem to go off time rotation.
You learn something new every day :D
The idea of deleting the oldest information is also useful in zeronet sites because not every one want to his or her sites become larger with time and the latest information often is the most careful for people.
Most helpful comment
Added in Rev3703: https://github.com/HelloZeroNet/ZeroNet/commit/c77e403f2765c89881de7eb6e09d5127bedde931