aspose file tools*
The moose likes Java in General and the fly likes Logging Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Logging Issue" Watch "Logging Issue" New topic
Author

Logging Issue

Shihad Salam
Greenhorn

Joined: Dec 15, 2010
Posts: 10
Hi,
I am using Crystal Report XI for generating report in my java application. While generating report enormous amount of logs are generated which causes the application down. I found some crystal report jar files responsible for generating these logs which uses org.apache.log4j.Logger. The logs are genearting in the standared out log.
Could you please provide some solution for restricting these logs using java or some other way as i was stucked by this issue.

Thanks !
Haina Minawa
Ranch Hand

Joined: Oct 13, 2011
Posts: 119
Shihad Salam wrote:Hi,
I am using Crystal Report XI for generating report in my java application. While generating report enormous amount of logs are generated which causes the application down. I found some crystal report jar files responsible for generating these logs which uses org.apache.log4j.Logger. The logs are genearting in the standared out log.
Could you please provide some solution for restricting these logs using java or some other way as i was stucked by this issue.

Thanks !


You can modify the logging level, i.e the ERROR level should log only errors, while the DEBUG level prints out everything.
Shihad Salam
Greenhorn

Joined: Dec 15, 2010
Posts: 10
Thanks for the reply..

Currently the logging level is set as INFO in those class files. I decompiled those crystal report class files and saw ths. I cannot modify anything in jar files, so i need to do something in my application to restict those info logs. Please Help.

Thanks !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Logging Issue
 
Similar Threads
XML and Reporting
Java Accessing Crystal Reports
Crystal Reports 10 with Java
Crystal Report in JSF
Creating the crystal reports from Java