Details

    • Flags:
      Patch

      Description

      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.

              config.setTempDir(ofbizHome + File.separatorChar + "runtime" + File.separatorChar + "tempfiles");
              config.setLogConfig(ofbizHome + File.separatorChar + "runtime" + File.separatorChar + "logs" + File.separatorChar + "birt", Level.ALL);
      
      

      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

        Attachments

          Activity

            People

            • Assignee:
              soledad Nicolas Malin
              Reporter:
              soledad Nicolas Malin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: