So I tried to use SocketAppender by program code not by 'consolePlug';
But the same problem was there too.
Then I tried another way.
1. give some pause.
public class MySocketAppender extends ch.qos.logback.classic.net.SocketAppender{
@Override
protected void append(ILoggingEvent event) {
try
{
Thread.currentThread().sleep(10);
}
catch(Exception e)
{
e.printStackTrace();
}
super.append(event);
}
}
2. set queue size.
socketAppender.setQueueSize(1024);
Beagle doesn't drop message.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
I had experienced same problem.
So I tried to use SocketAppender by program code not by 'consolePlug';
But the same problem was there too.
Then I tried another way.
1. give some pause.
public class MySocketAppender extends ch.qos.logback.classic.net.SocketAppender{
@Override
protected void append(ILoggingEvent event) {
try
{ Thread.currentThread().sleep(10); }catch(Exception e)
{ e.printStackTrace(); }super.append(event);
}
}
2. set queue size.
socketAppender.setQueueSize(1024);
Beagle doesn't drop message.