Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328124

Summary: setting BIRT_VIEWER_LOG_LEVEL to OFF does not work for Chart API
Product: z_Archived Reporter: Anthony Farrell <afarrell>
Component: BIRTAssignee: Birt-Chart-inbox <Birt-Chart-inbox>
Status: NEW --- QA Contact: Xiaoying Gu <bluesoldier>
Severity: normal    
Priority: P3 CC: bluesoldier
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Anthony Farrell CLA 2010-10-19 09:25:29 EDT
Build Identifier: Build id: 20090920-1017


After some reading and digging online Ive managed to patch a BIRT class to modify the logging Ive experienced on WAS. Can I recommend that time be spent examining how this SHOULD be done via the web.xml / configuration – since from my experiences the web.xml setting has had absolutely no impact on the verbose logging Ive seen and it would be a serious issue for some customers in a production environment.

The patch involved updating the class org.eclipse.birt.chart.log.Logger that can be found in CuramBIRTViewer.ear\ClientModule.war\WEB-INF\lib\chartengineapi.jar

public static final synchronized ILogger getLogger(String name)
    {
        JavaUtilLoggerImpl chartLogger = new JavaUtilLoggerImpl(name);
        
        // supress log info 
        chartLogger.setVerboseLevel(ILogger.FATAL);


If there is already a solution to this issue please advise.

Thanks for your help
Anthony.


Reproducible: Always