Thanks. I have been aware for quite some time that this was an issue, and I have also heard from others who haven't cleared their logs in a long while.
I am not playing Factorio much these days so motivation to fix this has been very low, but today I finally fixed this issue.
As of version 1.1.5, Train Log will now automatically clear train logs older than 24 hours.