提交 c1741254 编写于 作者: J Jesse Glick

Merge branch 'JENKINS-22840' of github.com:daniel-beck/jenkins

......@@ -35,12 +35,14 @@ import java.util.logging.LogRecord;
*/
public class RingBufferLogHandler extends Handler {
private static final int DEFAULT_RING_BUFFER_SIZE = Integer.getInteger(RingBufferLogHandler.class.getName() + ".defaultSize", 256);
private int start = 0;
private final LogRecord[] records;
private volatile int size = 0;
public RingBufferLogHandler() {
this(256);
this(DEFAULT_RING_BUFFER_SIZE);
}
public RingBufferLogHandler(int ringSize) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册