문제

In the configuration properties of my javax.mail.Session I have set mail.debug=true, but for some reason, this doesn't add any new output to the application log.

I've set the log4f logging level to ALL log4j.rootLogger=ALL, stdout and yet... nothing.

Is it possible that the javax.mail debug output is written somewhere else? Sounds unlikely, but nevertheless I thought it worth asking.

도움이 되었습니까?

해결책

It goes on console. Official FAQs

다른 팁

Setting log level of com.sun.mail.smtp to DEBUG worked on Wildfly(JBoss)

Set sessionDebug variable to false. It will no longer print on the Tomcat console.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top