When testing with 100's of SQL per second (and more), I get this message, repeatedly, in the stdout of my spring boot stdout:
2017-10-03 07:19:02.147 WARN 9934 --- [tp1768882706-66] c.s.j.logger.SocketLogSender : queue full, dropping remote log of statement
Cranking up the size of LinkedBlockingQueueo fixes this. I've got a local copy of this fix, this issue is my "todo" reminder to submit the pr. I think moving from the 10000 below to 100000 (adding a zero) did the trick.
public class SocketLogSender implements Runnable, LogSender {
private final static Logger LOGGER2 = Logger.getLogger(SocketLogSender.class);
private final BlockingQueue<LogMessage> logsToSend = new LinkedBlockingQueue<LogMessage>(10000);
When testing with 100's of SQL per second (and more), I get this message, repeatedly, in the stdout of my spring boot stdout:
2017-10-03 07:19:02.147 WARN 9934 --- [tp1768882706-66] c.s.j.logger.SocketLogSender : queue full, dropping remote log of statementCranking up the size of LinkedBlockingQueueo fixes this. I've got a local copy of this fix, this issue is my "todo" reminder to submit the pr. I think moving from the 10000 below to 100000 (adding a zero) did the trick.