Showing posts with label log4j. Show all posts
Showing posts with label log4j. Show all posts

07 February 2011

TROUBLESHOOTING: log4j SMTPAppender does not send mail from an ADF application

Problem 
If you use SMTPAppender of log4j to send mail upon log event from an ADF Fusion application and you cannot get the mail...

Solution
...then probably you  have not add JavaMail's jars as lib dependencies to your Project.


The error is thrown actually but you ll never see it when running for example the app module. If you run in a simple java class (see the link below for a tester one) you ll you get the exception complaining for the missing class.

Dig more:



26 January 2011

Use Log4j in JDeveloper

Excellent post here on how to use log4j in JDeveloper.


Check Log4j Conversion Patterns and Overhead to see how you can tune the logging info of log4j to satisfy your needs and also the performance overhead they produce.


You might also like:

Related Posts Plugin for WordPress, Blogger...