Actually, hang on. Further inspection reveals this isn’t logging persistence data for every device, but only some. I think this may be another manifestation of bug #4046.
SO… I think this should be tabled until that bug is fixed, then revisited if still happening. Thanks anyway!
Well, progress, sort-of. samverner777 was right on the money; replacing the first * with a zero solved the problem of logging every second. So my mysql.persistence is now:
The problem I’m having now is that persistence is not being consistent. Some things (mainly things that normally throw reports all the time, such as my Home Energy Monitors) are storing state every time they change or five minutes, whichever is shorter.
But things that haven’t changed state or thrown a report (such as light switches) aren’t getting any persistence updates at all. The intent is for every five minutes to write “yup, that switch is still off” into persistence, but that’s not happening. Them not getting any entries at all baffles me; shouldn’t they be falling under “default” or the * rule, and as such log every5+everychange?
Turns out the problem isn’t my persistence config, but that habmin (1) isn’t showing me all the persistence values. If I go and query the mysql database outside of openhab, I see persistence entries for individual items every five minutes (or more often if they change on their own), as intended and expected.
Sorry for the fire drill folks, and thanks again to @samverner777!