Programming using the BIRT Reporting APIs : Generating reports from an application : Setting up the report engine : How to use BIRT logging
 
How to use BIRT logging
The following example shows how to use logging in an application. You set up the logging environment and modify it later in your application. The variable, config, is the EngineConfig object that the code’s active ReportEngine object, engine, is using.
1 Configure logging on the report engine object.
// Set up the location and level of the logging output.
config.setLogConfig( "C:/Temp", Level.SEVERE );
config.setLogFile( "myBIRTApp.log" );
2 In any newly written code, increase the amount of logging.
engine.changeLogLevel( Level.INFO );