Skip to main content



      Home
Home » Archived » BIRT » many file log
many file log [message #149001] Tue, 28 March 2006 10:21 Go to next message
Eclipse UserFriend
the report engine write 2 file log (.log and .log.lck) any time I run
report engine.
How cai I avoid this ?
Re: many file log [message #149055 is a reply to message #149001] Tue, 28 March 2006 08:33 Go to previous messageGo to next message
Eclipse UserFriend
Walter,

If you are using the using the Report Engine API and you are not calling the
EngineConfig.setLogConfig command you shouldnt be getting a log.

If you have something like

config.setLogConfig( "c:/tmp/", Level.Fine);
setting it to
config.setLogConfig( "c:/tmp/", Level.OFF);
will still create the file.
I believe that this
config.setLogConfig( "", Level.OFF);
will work.

If you are using the Web Viewer, there are settings in the web.xml to
control
logging.

Jason

"walter" <belcore_walter@provincia.cuneo.it> wrote in message
news:7a4513e3221417ab38fb5f7e527256f4$1@www.eclipse.org...
> the report engine write 2 file log (.log and .log.lck) any time I run
> report engine.
> How cai I avoid this ?
>
Re: many file log [message #149160 is a reply to message #149001] Wed, 29 March 2006 01:04 Go to previous messageGo to next message
Eclipse UserFriend
I use reportengine under web tier, but I use a my servlet.
So the code is the same that standard application.

I tried config.setConfig("", Level.OFF)
but woithout success. Birt engine continues to write 2 file log wiht zero
byte lenght
Re: many file log [message #149294 is a reply to message #149160] Wed, 29 March 2006 08:16 Go to previous messageGo to next message
Eclipse UserFriend
What directory is it writting to?
I just tried this witout setting a log config and it didnt create a file.

EngineConfig config = new EngineConfig();
config.setEngineHome("...");
ReportEngine engine = new ReportEngine( config );

It did create a file if I added

config.setLogConfig( "", Level.OFF );

you can set

config.setLogConfig( null, Level.OFF );
and this should work, but this is the same thing as not
calling it at all.

Jason

"walter" <belcore_walter@provincia.cuneo.it> wrote in message
news:278aef8d1de869095a70b95b30112243$1@www.eclipse.org...
>I use reportengine under web tier, but I use a my servlet.
> So the code is the same that standard application.
>
> I tried config.setConfig("", Level.OFF)
> but woithout success. Birt engine continues to write 2 file log wiht zero
> byte lenght
>
Re: many file log [message #149354 is a reply to message #149294] Thu, 30 March 2006 01:54 Go to previous message
Eclipse UserFriend
Ok. With conf.setLogConfig(null,Level.OFF); woks fine.
Thanks.
Previous Topic:IRunAndRenderTask.setParameters() broken? !!
Next Topic:Filter in a group
Goto Forum:
  


Current Time: Tue May 06 00:11:00 EDT 2025

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

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

Back to the top