• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Logging Issue

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 !
 
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 !
 
Get off me! Here, read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic