Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Logging Issue

 
Shihad Salam
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 !
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic