You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Nicolas Malin (JIRA)" <ji...@apache.org> on 2017/02/04 09:08:52 UTC

[jira] [Updated] (OFBIZ-9201) Birt logging unlogical high

     [ https://issues.apache.org/jira/browse/OFBIZ-9201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Malin updated OFBIZ-9201:
---------------------------------
    Attachment: OFBIZ-9201.patch

This patch came from git (so application with : patch -p1) and from a release 13.07 so it's applied on a release14.12 and release15.12.

I will prepare a patch for the 16.11 and trunk

 

> Birt logging unlogical high
> ---------------------------
>
>                 Key: OFBIZ-9201
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9201
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 14.12, Trunk, Release Branch 15.12, Release Branch 16.11
>            Reporter: Nicolas Malin
>            Assignee: Nicolas Malin
>         Attachments: OFBIZ-9201.patch
>
>
> I found a several issue to use the birt component on production
> The class BirtContainer call the birt engine with hard coding level ALL oO .
> The result : to generate a reporting of 100Mo we had a log file of 10Go.
> {code}
>         config.setTempDir(ofbizHome + File.separatorChar + "runtime" + File.separatorChar + "tempfiles");
>         config.setLogConfig(ofbizHome + File.separatorChar + "runtime" + File.separatorChar + "logs" + File.separatorChar + "birt", Level.ALL);
> {code}
> The problem come from birt use java.util.Logger to generate log, I can't found how use the org.apache.log4j.Logger instead of, so I create a quick patch to create a level matching between Log4j and java Logger
> I found some example to implement it like http://stackoverflow.com/questions/24318087/direct-birt-report-logs-to-log4j but I failed to do it on OFBiz. So if you can check my quick correction or resolve how use directly log4j it's mostly appreciate ;)
>  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)