Home » Archived » BIRT » Disable fully Birt logging
Disable fully Birt logging [message #365698] |
Fri, 24 October 2008 19:52 |
Nicolas Thuillier Messages: 17 Registered: July 2009 |
Junior Member |
|
|
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.Table ColumnGenera
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.
|
|
|
Re: Disable fully Birt logging [message #365745 is a reply to message #365698] |
Wed, 29 October 2008 21:59 |
|
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.Table ColumnGenera
> 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
Michael
Developer Evangelist, Silanis
|
|
|
Re: Disable fully Birt logging [message #366052 is a reply to message #365745] |
Tue, 25 November 2008 23:31 |
jennie Messages: 24 Registered: July 2009 |
Junior Member |
|
|
Hi there,
I'm having the same problem. I'm using Birt 3.2 runtime on Tomcat. When I
set the logging in config:
config.setLogConfig(logDir , LEVEL.OFF);
I still get font messages like below:
Nov 25, 2008 2:55:12 PM
org.eclipse.birt.report.engine.layout.pdf.font.FontMappingMa nagerFactory
loadFontMappingConfig
INFO: load font config in bundleentry://52/fontsConfig.xml cost 171ms
with nothing in the log file.
If I set the logging to FINEST, then I get log messages in *both* the log
file and in stdout. But I only get the font messages in stdout.
Any ideas? Any help is appreciated.
Thanks,
Jennie
Michael Williams wrote:
> 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.Table ColumnGenera
>> 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
|
|
| |
Goto Forum:
Current Time: Sun Apr 28 21:10:10 GMT 2024
Powered by FUDForum. Page generated in 0.04000 seconds
|