Jump to content
Changes to the Jaspersoft community edition download ×

How to see Java Mailer details in log?


bkrutiy

Recommended Posts

We are not consistently receiving emailed reports from the JasperReports iReports service. In order to track down missing reports from iReports, I need to identify where the java mailer service is logging so that needed MTA related info (mail connection and transmission) can be collected and provided to our mail services team. Along with the correct properties filename that this is stored in, what is the debug level required to show this information and what are all the debug levels?

Thank you

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Are you asking about mail-related logging for the scheduler in JasperReports Server?  If so, the mail client the scheduler uses is Sun/Oracle's JavaMail api.

 JavaMail does logging a bit differently, so to get juicy logging:
-Edit WEB-INF/applicationContext-report-scheduling 
-Search for <property name="javaMailProperties"> 
-Add <prop key="mail.debug">true</prop> to the set of javaMailProperties... beneath the "mail.smtp.auth" prop. 
-restart. 
- Depending on your appserver, the output might go into jasperserver.log, or catalina.out (or non-tomcat root logging file) or to the console output. 

For more info, just assume we're any java-based application using the javamail api described here: http://www.oracle.com/technetwork/java/javamail/index.html

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...