ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Malin (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OFBIZ-9201) Birt logging unlogical high
Date Tue, 07 Feb 2017 20:00:44 GMT

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

Nicolas Malin closed OFBIZ-9201.
--------------------------------

> 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
>             Fix For: Release Branch 14.12, Release Branch 15.12, Upcoming Release, 16.11.02
>
>         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)

Mime
View raw message