Description
In normal cases, log events get added in sequence to a LogStore, but if they don't the log gets cleared by accident. Analysis of this bug shows that in that case, if you set no limit on the total number of events in the store, the events get deleted because it thinks it should have a limit of zero.