|
|
|
|
Re: logs cleanup - web viewer [message #646000 is a reply to message #645890] |
Tue, 21 December 2010 14:24 |
|
Josh,
I have not tried this before. Have you tried the method described here:
http://wiki.eclipse.org/BIRT/FAQ/Deployment#Q:_Can_I_use_Log 4j_with_BIRT.3F
Jason
On 12/20/2010 7:45 PM, Josh wrote:
> logMaxBackupIndex actually defaults to 1 (so no need to explicitly set
> it). It only helps if it's a single file being 'rolled over' due to
> reaching the predefined size, however the Birt Viewer creates files with
> unique filenames so they're never very large, but there are many of
> them. logMaxBackupIndex won't help here.
>
> Ideally I'd like to pass my web application's Apache commons logger to
> the BIRT engine config, however BIRT uses JDK logging, and I can't
> figure out how to do that. The following snippet describes what I'd like
> to do:-
>
>
> Log log = LogFactory.getLog(this.getClass()); // Get Apache commons Log
> ReportEngineService.getInstance().getEngineConfig().setLogge r(log); //
> Type mismatch!
>
>
> Are there any suggestions on how I might do this?
|
|
|
Powered by
FUDForum. Page generated in 0.04406 seconds