We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
event.getCallerData()
%line
new String(this.encoder.encode(eventObject))
producer.send()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
event.getCallerData()
,爬栈的消耗极大。要不要调用这个方法,logback 自己会根据日志格式中有没有%line
自行判断。new String(this.encoder.encode(eventObject))
,这条语句会导致 layout 的生成的 string 日志内容转成 byte[] 再转成 string,多复制了两份。producer.send()
,该方法在获取锁的时候会阻塞用户线程,当日志服务网络不稳定或达到上限时,用户线程默认会等待 60s。此处应该异步。The text was updated successfully, but these errors were encountered: