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

Bug 354770

Summary: Issues with Report Viewer java logging; INFO level messages are writing in catalina.out even though I restrict them with SEVERE
Product: z_Archived Reporter: jyo <jyothi_sunke>
Component: BIRTAssignee: Birt-ReportViewer <Birt-ReportViewer-inbox>
Status: NEW --- QA Contact: Maggie Shen <lshen>
Severity: normal    
Priority: P3 CC: bluesoldier
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
attach the logging.properties
none
report design for preview none

Description jyo CLA 2011-08-15 15:55:48 EDT
Build Identifier: Birt 2.6.2

I have added below to /tomcat/conf/logging.properties, but still when the report viewer is invoked I see INFO level log messages are writing to /tomcat/logs/catalina.out. I don't want those to display in catalina.out; they should be displayed in ReportEngine<timestamp>.log file.  

org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager.level=SEVERE
org.eclipse.birt.report.data.oda.sampledb.SampledbPlugin.level=SEVERE
org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory.level=SEVERE 


catalina.out log messages are given below:

Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory loadFontMappingConfig
INFO: load font config in bundleentry://8.fwk27425423/fontsConfig.xml cost 18ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/ja/X11/fonts/TT cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/iso_8859_13/X11/fonts/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/ru.ansi-1251/X11/fonts/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/iso_8859_15/X11/fonts/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in d:/windows/fonts cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in C:/windows/fonts cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/X11R6/lib/X11/fonts/truetype cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/ar/X11/fonts/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in e:/WINNT/fonts cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in C:/WINNT/fonts cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/iso_8859_2/X11/fonts/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/X11R6/lib/X11/fonts/tt cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/th_TH/X11/fonts/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/iso_8859_8/X11/fonts/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/iso_8859_7/X11/fonts/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/X11R6/lib/X11/fonts/TTF cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/X11/fonts/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/share/fonts/truetype cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in f:/WINNT/fonts cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/ko.UTF-8/X11/fonts/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in g:/WINNT/fonts cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/iso_8859_5/X11/fonts/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in f:/windows/fonts cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in d:/WINNT/fonts cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/share/fonts/ko/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/zh_TW/X11/fonts/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in e:/windows/fonts cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/share/fonts/zh_TW/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/share/fonts/ja/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/zh_CN.GB18030/X11/fonts/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/share/fonts/default/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/X/lib/X11/fonts/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/euro_fonts/X11/fonts/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/hi_IN.UTF-8/X11/fonts/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/zh.GBK/X11/fonts/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/X11R6/lib/X11/fonts/OTF cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/iso_8859_9/X11/fonts/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/X11R6/lib/X11/fonts/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/zh_TW.BIG5/X11/fonts/TT cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/ko/X11/fonts/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/zh_HK.BIG5HK/X11/fonts/TT cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/KOI8-R/X11/fonts/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/zh/X11/fonts/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/share/fonts/zh_CN/TrueType cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in g:/windows/fonts cost:0ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory loadFontMappingConfig
INFO: load font config in bundleentry://8.fwk27425423/fontsConfig_linux.xml cost 2ms
Aug 15, 2011 12:26:51 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory loadFontMappingConfig
INFO: load font config in bundleentry://8.fwk27425423/fontsConfig_pdf.xml cost 3ms


Reproducible: Always
Comment 1 Xiaoying Gu CLA 2011-08-23 04:25:19 EDT
hi there,

I just can not reproduce the issue.

When I tested on Windows system, the logs are generated in reportengine log which is expected.

When I tested on Linux system, the logs are generated neither in catalina.out nor reportengine.

If you have special setting, please let me know. Thanks.
Comment 2 jyo CLA 2011-08-25 14:11:42 EDT
Thank you Xhu for responding back on this.  I have this issue only in Linux environment, not sure why this is happening.  There is no special setting, Tomcat install was clean.  Can you share with me your logging.properties?

Thank you,
Jyothi
Comment 3 Maggie Shen CLA 2011-08-25 22:21:52 EDT
Created attachment 202193 [details]
attach the logging.properties
Comment 4 Maggie Shen CLA 2011-08-25 22:23:24 EDT
Created attachment 202194 [details]
report design for preview
Comment 5 Maggie Shen CLA 2011-08-25 22:24:36 EDT
I have attached the logging.properties and report for preview. BTW, I'm using tomcat 6.
Comment 6 jyo CLA 2011-09-08 11:10:24 EDT
Thank you for all the responses on this issue.  Recently I have updaged to BirtRuntime 3.7.0 version and now the logs are writing to ReportEngine<log> files rather than catalina.out.  Issue is not happening with version 3.7.0.

Question - Is there any change in the logging in version 3.7.0 compared to verison 2.6.2??


Thank you in advance,
Jyothi