问题描述:

I have developed an application that used 3-rd party library jars. After deploying on tomcat I found that these libraries writes in catalina.out. I don't have access to they code.

Does it possible redirect they log to separate file or don't allow write to catalina.out ?

Thanks.

网友答案:

The simple solution is to change logging.properties to suppress these log messages by their logger names. To actually modify the code would involve ASM or some other really tricky stuff.

相关阅读:
Top