Petals BC MAIL

Find a suitable way to debug a mail session

Details

  • Type: Improvement Request Improvement Request
  • Status: New New
  • Resolution: Unresolved
  • Affects Version/s: 3.3.0
  • Fix Version/s: None
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    Following this message on the forum, it would be nice to be able to debug a mail session. Right now, we would have to modify the code and debug it manually.

    For support convenience, it would be better to activate some property (which one is to be determined).
    It could be a SU or component parameter, a system property, etc.

    See also http://www.oracle.com/technetwork/java/faq-135477.html#debug

    Show
    Following this message on the forum, it would be nice to be able to debug a mail session. Right now, we would have to modify the code and debug it manually. For support convenience, it would be better to activate some property (which one is to be determined). It could be a SU or component parameter, a system property, etc. See also http://www.oracle.com/technetwork/java/faq-135477.html#debug
  • Environment:
    All

Activity

Hide
Christophe DENEUX added a comment - Wed, 24 Jul 2013 - 11:07:37 +0200

A better solution is to use the loglevel of the Petals BC Mail logger. See http://stackoverflow.com/questions/2118370/how-to-redirect-javax-mail-session-setdebugout-to-log4j-logger to known how to redirect the debug output stream of Java Mail

Show
Christophe DENEUX added a comment - Wed, 24 Jul 2013 - 11:07:37 +0200 A better solution is to use the loglevel of the Petals BC Mail logger. See http://stackoverflow.com/questions/2118370/how-to-redirect-javax-mail-session-setdebugout-to-log4j-logger to known how to redirect the debug output stream of Java Mail
Hide
Vincent Zurczak added a comment - Wed, 24 Jul 2013 - 11:23:07 +0200

Indeed, including session debug with Petals loggers is better.

Show
Vincent Zurczak added a comment - Wed, 24 Jul 2013 - 11:23:07 +0200 Indeed, including session debug with Petals loggers is better.

People

Dates

  • Created:
    Wed, 24 Jul 2013 - 10:30:52 +0200
    Updated:
    Wed, 24 Jul 2013 - 11:23:07 +0200