/** * The <b>BufferSize</b> option takes a positive integer representing the * maximum number of logging events to collect in a cyclic buffer. When the * <code>BufferSize</code> is reached, oldest events are deleted as new * events are added to the buffer. By default the size of the cyclic buffer is * 512 events. */ public void setBufferSize(int bufferSize) { this.bufferSize = bufferSize; cb.resize(bufferSize); }