[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.birt] Re: Disable fully Birt logging
|
- From: mwilliams@xxxxxxxxxxx (Michael Williams)
- Date: Wed, 29 Oct 2008 21:59:45 +0000 (UTC)
- Newsgroups: eclipse.birt
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Nicolas Thuillier wrote:
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.
Hi Nicolas,
You should be able to control the logging by editing the
logging.properties file in the lib directory you're running off of. You
change the .level line to SEVERE or WARNING. Or have you already done
this?
Regards,
Michael