How to redirect javax.mail.Session setDebugOut to log4j logger?
Is it possible to redirect only mailSession debug out to logger?
I mean, there are solutions like
which reassigns all standard output to go to log4j --System.setOut(new Log4jStream())
Best Regards