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

      1. OFBIZ-9201.patch
        4 kB
        Nicolas Malin

        Activity

        Hide
        soledad Nicolas Malin added a comment -

        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

        Show
        soledad Nicolas Malin added a comment - 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
        Hide
        soledad Nicolas Malin added a comment -

        Ok I applied the patch on revision :

        • trunk : 1782070
        • 16.11 : 1782071
        • 15.11 : 1782072
        • 14.12 : 1782073
        Show
        soledad Nicolas Malin added a comment - Ok I applied the patch on revision : trunk : 1782070 16.11 : 1782071 15.11 : 1782072 14.12 : 1782073

          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:

              Development