Wow, obviously things have come a long way since the year started
I don't know anything about Linux programming.
PhatMark simply parses the logfile looking for repeated pressings of the AudioID button or pause/play cycles before a song resumes play. It then counts these allowing different # of button presses (Marks) for various reasons. It has a nice front end to manage the resulting info, and saves only the marked files with a special marker back to the log file.
If a program could parse the logfile on the fly or at least at shutdown/startup, then we'd never have to worry about filling the partition (it's not a huge concern right now, with debug level 1 it grows at roughly 100KB/hr of use. 40MB free gives ~400hrs before partion fill). Then we could just have a nice front end to manage the data from the PHTSYS.
Yes, using PhatMark's 'install DMS files' feature, it renames the two rc files to 'rc {original}' and copies over the rc files with debug level 1. When restoring, it looks for the 'rc {original}' files and uses those, or if they don't exist it also has its own copy of the rc files with debug off (basically the original rc files on my PhatBox).