Open Source BIRT logging with log4j
There are a few different was to approach error logging in an open source BIRT report. This is an example of how you can use log4j and a custom class to generate log4j output using a try/catch block in JavaScript.
importPackage(Packages.com.opentext.birt.logger); logger = new BIRTLogger("initialize", "BIRT Logging Example.rptdesign"); try { addalert("something"); }catch(ex){ logger.logError(ex); }
Warning
No formatter is installed for the format ipb
0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management