Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Change BIRT Logging level for specific class/package(Change BIRT Logging level for specific class or package)
Change BIRT Logging level for specific class/package [message #1007602] Wed, 06 February 2013 17:07 Go to next message
Ronan Crowley is currently offline Ronan CrowleyFriend
Messages: 10
Registered: June 2012
Junior Member
Hi All,

Whenever I first run my BIRT Engine, I get 140 lines of logs like the following in my output log.

Quote:

[06-Feb-2013 07:09:18.497 PST] ERROR <root> Feb 06, 2013 7:09:18 AM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory loadFontMappingConfig
INFO: load font config in jar:file:/usr/local/my-slave-server/installed/BIRTEngine/WSAR-INF/lib/org.eclipse.birt.runtime_3.7.1.jar!/fontsConfig.xml cost 26ms

[06-Feb-2013 07:09:18.499 PST] ERROR <root> Feb 06, 2013 7:09:18 AM 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

... Skip 100 repeated lines, registering different directories ...

[06-Feb-2013 07:09:18.538 PST] ERROR <root> Feb 06, 2013 7:09:18 AM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in g:/windows/fonts cost:0ms


I'm not sure why these say "ERROR", when the code at line 562 of org.eclipse.birt.engine/src/eclipse/org/eclipse/birt/report/engine/layout/pdf/font/FontMappingManagerFactory.java is at info level?

My server is set with JDK logging and log4j.

I have added these lines to log4j.properties:
Quote:

log4j.category.org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory=FATAL
log4j.logger.org.eclipse.birt.report.engine.layout.pdf.font=FATAL


I have added this line to logging.properties:
Quote:

org.eclipse.birt.report.engine.layout.pdf.font.level=SEVERE


Neither of these has remove the 140 lines of logs.

Any suggestions how to remove thm?

Cheers,
Ronan

[Updated on: Wed, 06 February 2013 17:15]

Report message to a moderator

Re: Change BIRT Logging level for specific class/package [message #1007654 is a reply to message #1007602] Wed, 06 February 2013 21:45 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

What is your BIRT version? Have you checked the bugzilla for this? There are no actual errors described in the log? Just these lines stating an error, when there really isn't one? The reports and all of your fonts work correctly?

Michael

Developer Evangelist, Silanis
Re: Change BIRT Logging level for specific class/package [message #1009652 is a reply to message #1007654] Fri, 15 February 2013 13:05 Go to previous messageGo to next message
Ronan Crowley is currently offline Ronan CrowleyFriend
Messages: 10
Registered: June 2012
Junior Member
Running BIRT 3.7.1

There are no errors.
Line 562 of FontMappingManagerFactory.java logs at INFO level, which is surprising that my logs are showing that with an ERROR message containing the code line beforehand.

I'd like to remove this logging altogether.
But config efforts have been unsuccessful so far.
Re: Change BIRT Logging level for specific class/package [message #1009893 is a reply to message #1009652] Fri, 15 February 2013 23:48 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

You might download the latest version and see if it still shows this. If so, please log a bug for it and post the bug info in here. Thanks!

Michael

Developer Evangelist, Silanis
Previous Topic:chart Zooming
Next Topic:Help : Generate birt report in TCR 2.1 cognos
Goto Forum:
  


Current Time: Fri Apr 26 00:20:25 GMT 2024

Powered by FUDForum. Page generated in 0.03030 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top