阅读背景:

Log4j格式化:是否可以截断堆栈跟踪?

来源:互联网 

I want to log only the first few lines of Exceptions in my program. I know, I can do something like this to print only the first 5 lines of a stacktrace:I want to log only the first few lines of Excep




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: