[prev in list] [next in list] [prev in thread] [next in thread]
List: opennms-buglist
Subject: [Buglist] [Bug 2555] Java Mail Debug Not Logging
From: bugzilla () opennms ! org (bugzilla at opennms ! org)
Date: 2008-06-24 1:56:18
Message-ID: 20080624015618.7E53F7884E1 () nen ! opennms ! org
[Download RAW message or body]
http://bugzilla.opennms.org/show_bug.cgi?id=2555
------- Comment #5 from dj at opennms.org 2008-06-23 21:56 -------
FYI, the JavaMail logging was moved from output.log to Log4j in trunk with
r6143.
------------------------------------------------------------------------
r6143 | djgregor | 2007-04-13 05:23:09 -0400 (Fri, 13 Apr 2007) | 19 lines
Improve the error reporting and logging from JavaMail. By default,
JavaMail debugging information is logged to System.out, details about
message deliveries are only provided asychronously to listeners that
have asked to receive them, and delivery failures don't always
cause an exception to be generated.
Specific changes:
- Setup a PrintStream that logs to log4j for Session debug logging.
- Add a TransportListener that gets notification of message
deliveries, logs events as they come in, and also keeps track of
deliveries for a later assertion to check that there were
no failed deliveries. If there were any failed deliveries, the
assert method throws an exception listing which recipients were
successful and which failed.
- Lots of refactoring along the way.
- The "org.opennms.core.utils.useJMTA" property is ready to go
away to be replaced with "org.opennms.core.utils.transport=mta"
when JMTA is to be used. This would leave the "transport"
property as the one and only property to select the delivery method.
------------------------------------------------------------------------
--
Configure bugmail: http://bugzilla.opennms.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic