How can I log the debug messages to a file when I session.setDebug(true)?

John Zukowski

With the 1.3 release of JavaMail, there is support for session-level output streams. Call public void setDebugOut(java.io.PrintStream out) to change the stream from System.out. Passing in a value of null will use System.out for output.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact