bkrutiy Posted March 11, 2014 Share Posted March 11, 2014 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 More sharing options...
marianol Posted March 11, 2014 Share Posted March 11, 2014 Are you talking about iReport and Jasperreports Library or the JasperReports Server? Link to comment Share on other sites More sharing options...
hozawa Posted March 12, 2014 Share Posted March 12, 2014 Which setting in iReport are you using to send emails? iReport is a report designer. It has a preview functionalities but I'm not aware of sending emails. Link to comment Share on other sites More sharing options...
ghudson_1 Posted March 12, 2014 Share Posted March 12, 2014 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now