log level for Birt Viewer app [message #56459] |
Tue, 12 July 2005 06:44  |
Eclipse User |
|
|
|
Hi list,
I integrated the birt viewer into my app. How can I set the log level for
the output of the viewer?
Thanks in advance,
Florian
|
|
|
|
|
|
|
|
|
Re: log level for Birt Viewer app [message #81408 is a reply to message #68482] |
Mon, 17 October 2005 04:41   |
Eclipse User |
|
|
|
This doesn't work for me...
The only 'set' methods available on config object are:
- setConfigurationVariable (String, String)
- setEmitterConfiguration(String, Object)
- setEngineContext(IPlatformContext)
- setEngineHome(String)
- setStatusHandler(IStatusHandler)
- setTempDir(String)
Can anyone explain how to disable logging for BIRT 1.0.1 (using
web.xml or any other way).
I don't know apache common logging package, and I believe I just need
an example...
Can anyone help?
>Hello,
>Thru the BIRT API, you can write this 2 lines.
>And no outputs will come disturbing your logs.
>
>EngineConfig config = new EngineConfig();
>config.setLogConfig("",Level.OFF);
>
>Level is from java.util.logging package.
>
>It is runnig for me, if you find another solutions, mail me ?
>
>Cheers,
>
>Phil
|
|
|
Re: log level for Birt Viewer app [message #82958 is a reply to message #68482] |
Fri, 21 October 2005 08:50  |
Eclipse User |
|
|
|
Thank you for the advice.
I finally found out the java runtime we used still was set to 1.3.
So, the 'setLogConfig' method wasn't shown by eclipse (using
auto-complete by ctrl-space), since one of it's parameters is a
java.util.log.Level (log package isn't available in Java 1.3)...
But now I've got it, and i set the level to level.OFF! It works fine
:)
Thanks a lot
Frédéric.
On Fri, 19 Aug 2005 09:59:23 +0000 (UTC), psylvestre@sysdeo.com
(Philippe Sylvestre) wrote:
>Hello,
>Thru the BIRT API, you can write this 2 lines.
>And no outputs will come disturbing your logs.
>
>EngineConfig config = new EngineConfig();
>config.setLogConfig("",Level.OFF);
>
>Level is from java.util.logging package.
>
>It is runnig for me, if you find another solutions, mail me ?
>
>Cheers,
>
>Phil
|
|
|
Powered by
FUDForum. Page generated in 0.26453 seconds