Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 165203 - Report engine logs warning messages even though log level is set to SEVERE
Summary: Report engine logs warning messages even though log level is set to SEVERE
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 2.2.0 M5   Edit
Assignee: Birt-ReportEngine-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 164835
  Show dependency tree
 
Reported: 2006-11-20 14:34 EST by Sheldon Lee-Loy CLA
Modified: 2009-06-30 09:59 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sheldon Lee-Loy CLA 2006-11-20 14:34:09 EST
Even though I set the log level on the engine to SEVERE I still see warning messages logged.

This is the code I use to set the log level.
	engine.changeLogLevel( Level.SEVERE );	

The following are the warning messages that are logged to the log file.  Note: I'm using BIRT within the eclipse.

!ENTRY org.eclipse.osgi 2 1 2006-11-16 12:51:17.890
!MESSAGE NLS unused message: Top_10_by_info in:
org.eclipse.tptp.monitoring.report.birt.ui.internal.messages

!ENTRY org.eclipse.osgi 2 1 2006-11-16 12:51:17.890
!MESSAGE NLS unused message: Warning in:
org.eclipse.tptp.monitoring.report.birt.ui.internal.messages

!ENTRY org.eclipse.osgi 2 1 2006-11-16 12:51:17.890
!MESSAGE NLS unused message: detail_table_title in:
org.eclipse.tptp.monitoring.report.birt.ui.internal.messages

!ENTRY org.eclipse.osgi 2 1 2006-11-16 12:51:17.890
!MESSAGE NLS unused message: Info in:
org.eclipse.tptp.monitoring.report.birt.ui.internal.messages

!ENTRY org.eclipse.osgi 2 1 2006-11-16 12:51:17.890
!MESSAGE NLS unused message: Log_Report_Title in:
org.eclipse.tptp.monitoring.report.birt.ui.internal.messages

!ENTRY org.eclipse.osgi 2 1 2006-11-16 12:51:17.906
!MESSAGE NLS unused message: creation in:
org.eclipse.tptp.monitoring.report.birt.ui.internal.messages

!ENTRY org.eclipse.osgi 2 1 2006-11-16 12:51:17.906
!MESSAGE NLS unused message: Severity in:
org.eclipse.tptp.monitoring.report.birt.ui.internal.messages

!ENTRY org.eclipse.osgi 2 1 2006-11-16 12:51:17.906
!MESSAGE NLS unused message: Severe in:
org.eclipse.tptp.monitoring.report.birt.ui.internal.messages

!ENTRY org.eclipse.osgi 2 1 2006-11-16 12:51:17.906
!MESSAGE NLS unused message: Top_10_by_event in:
org.eclipse.tptp.monitoring.report.birt.ui.internal.messages

!ENTRY org.eclipse.osgi 2 1 2006-11-16 12:51:17.906
!MESSAGE NLS unused message: Top_10_by_warning in:
org.eclipse.tptp.monitoring.report.birt.ui.internal.messages

!ENTRY org.eclipse.osgi 2 1 2006-11-16 12:51:17.906
!MESSAGE NLS unused message: Top_10_by_severe in:
org.eclipse.tptp.monitoring.report.birt.ui.internal.messages

!ENTRY org.eclipse.osgi 2 1 2006-11-16 12:51:18.187
!MESSAGE NLS unused message: Overview in:
org.eclipse.tptp.trace.report.birt.ui.internal.messages
Comment 1 Wei Yan CLA 2006-11-22 22:11:22 EST
can you give me the detail log message? 
Comment 2 Sheldon Lee-Loy CLA 2006-11-22 23:13:55 EST
I'm not sure what you're asking.

This is one message that gets logged.

!ENTRY org.eclipse.osgi 2 1 2006-11-16 12:51:17.890
!MESSAGE NLS unused message: Top_10_by_info in:
org.eclipse.tptp.monitoring.report.birt.ui.internal.messages


My report template uses a externalized string in a resource file
Comment 3 Sheldon Lee-Loy CLA 2006-12-12 14:30:36 EST
Hi Wei,

Did I answer your question?  
Comment 4 Wei Yan CLA 2006-12-12 22:42:47 EST
It seems that the message is not logged by BIRT report engine. In the messages,

!ENTRY            the plugin which output the message.
!MESSAGE          the priority of the message 

Seems that the message is output by osgi, right?
Comment 5 Sheldon Lee-Loy CLA 2006-12-13 13:33:19 EST
(In reply to comment #4)
From the message it does seem to be from OSGI.  The BIRT code must be setting the logging level in OSGI to wrong setting.  

> It seems that the message is not logged by BIRT report engine. In the messages,
> !ENTRY            the plugin which output the message.
> !MESSAGE          the priority of the message 
> Seems that the message is output by osgi, right?

Comment 6 Wei Yan CLA 2006-12-25 22:57:39 EST
The BIRT engine doesn't use the Eclipse logger, it uses the java logger. The logger message is output by Eclipse platform. I think you should set the output level of the Eclipse platform instead of BIRT to avoid this.
Comment 7 Sheldon Lee-Loy CLA 2007-01-03 22:07:51 EST
Removed warning message from log message.
Comment 8 Paul Slauenwhite CLA 2009-06-30 09:35:12 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this originator of this enhancement/defect has an inactive Bugzilla account and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.
Comment 9 Paul Slauenwhite CLA 2009-06-30 09:59:35 EDT
This enhancement/defect was mistaken closed as part of the TPTP 4.6 Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes) since the originator of this enhancement/defect has an inactive Bugzilla account.  If this enhancement/defect is still unresolved and reproducible, please re-open.