use a flag to indicate which MonitorLog rows have changed state