[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.birt] Disable fully Birt logging
|
- From: "Nicolas Thuillier" <nthuillier@xxxxxxxxxxx>
- Date: Fri, 24 Oct 2008 19:52:32 +0000 (UTC)
- Newsgroups: eclipse.birt
- Organization: EclipseCorner
- User-agent: XanaNews/1.18.1.6
Hi,
In order to disable Birt logging, in 4.2 I was using
config.setLogConfig(null, Level.OFF).
But in 4.3, I'm getting info messages through the console:
Oct 24, 2008 2:40:18 PM
org.eclipse.birt.report.item.crosstab.core.re.executor.TableColumnGenera
tor generateColumns
INFO: Type: COLUMN_EDGE, Measure: 0, Data Position: 2
Oct 24, 2008 2:40:23 PM
org.eclipse.birt.report.engine.layout.pdf.font.FontMappi
ngManagerFactory loadFontMappingConfig
INFO: load font config in bundleentry://50/fontsConfig.xml cost 63ms
Oct 24, 2008 2:40:23 PM
org.eclipse.birt.report.engine.layout.pdf.font.FontMappi
ngManagerFactory registerFontPath
INFO: register fonts in
/usr/openwin/lib/locale/ko.UTF-8/X11/fonts/TrueType cost:0ms
Even if I set the logconfig with a directory:
config.setLogConfig("c:\\temp", Level.INFO), no message are written in
the created log file (ReportEngine_2008_10_24_14_21_56.log), the
messages still appear in the console.
I noticed than the class FontMappingManagerFactory uses in the
loadFontMappingConfig and registrerFontPath methods:
logger.info( "...");
And almost everytime in the birt code, logger.log( Level.INFO, "...")
is used instead of logger.info(). Is it the reason why those messages
are not catch by the logger?
Thanking you in advanced for your help.
Nicolas.