Text length limit in logback logging

前端 未结 2 541
不知归路
不知归路 2021-01-18 12:55

We are logging the application SOAP requests to the interfaces using the logback.xml configuration file. The SOAP requests are itself generated with the framework Apache CXF

相关标签:
2条回答
  • 2021-01-18 13:18

    CXF. The LoggingInInterceptor has a property on it to control the limit size of what it logs. You would need to set the limit in there.

    0 讨论(0)
  • 2021-01-18 13:30

    You may set limit

    LoggingInInterceptor lii = new LoggingInInterceptor(); 
    lii.setLimit(limit);
    
    0 讨论(0)
提交回复
热议问题