Hi All,
# FidoBlitz Development Log
# v0.19 - 2026-05-11
## Enhancement: Log file rotation
A sysop reported FidoBlitz running visibly slowly, with each log line
appearing roughly one per second. Investigation found the log had grown to
22 MB - every log write opens the file in `#MODE_READWRITE`, seeks to the
end and closes again (the open-append-close pattern that lets sysops edit/truncate the log without crashing FidoBlitz), and on slow Amiga storage that seek-to-end becomes the bottleneck once the file is large.
After each session, check the active log file's size and if it exceeds `log-maxsize`, rotate it. Rotation is the classic numeric scheme:
delete `<log>.<keep>`, then cascade `.N-1 -> .N` down to `.1 -> .2`, then rename the current log to `.1`. The next write reopens the (now absent) main log path fresh.
Two new config keywords:
- `log-maxsize <bytes>` - rotation threshold, default 8388608 (8 MB)
- `log-keep <count>` - number of `.1`..`.N` backups to keep, default 5
It will appear on Aminet's Latest packages list in the next day or so.
If you can't wait, then grab it from my website:
https://vk3heg.net/fidoblitz019.lha
-- Stephen --
Rocking Amiganet with an Amiga 4000 and Zeus BBS.
--- Zeus BBS 1.5
* Origin: -:-- Dragon's Lair --:- dragon.vk3heg.net Prt: 6800 (39:901/281.0)