You can also change settings for specific class packages so that the logging level is not as verbose just for the fop classes.
There are some examples of this in the current log4j config file. If it's not obvious after looking for a few minutes please reply and I'll throw together an example or something.
-David On Dec 10, 2007, at 5:28 PM, Adrian Crum wrote:
You're right - thanks Chris!Let me see if there's a way to point FOP to a different config file so we don't have to change the project's config file.-Adrian Chris Howe wrote:It's choking on the log4j. If you change the root logger in framework/base/config/log4j.xml from ALL to INFO, back to normal.----- Original Message ---- From: Adrian Crum <[EMAIL PROTECTED]> To: [email protected] Sent: Monday, December 10, 2007 11:39:37 AM Subject: Re: FOP Issues So much has changed between trunk and R4 that it would be a very timeconsuming task to go through a list of changed files to see which one caused the problem. That's why Isuggested a profiler - it would spot the culprit right away. Chris Howe wrote:It helps if one (me) reads before applying a solution. I had appliedChristian's patch to trunk and came up empty. I just did a c/o of 4.0 and viola...works OOTB. Adrian, I share your sentiments on the issue. That was the most draining exercise I've gone through with OFbiz in Idon't know how long. Are there really that many files where the culprit could be?----- Original Message ---- From: Adrian Crum <[EMAIL PROTECTED]> To: [email protected] Sent: Monday, December 10, 2007 9:44:23 AM Subject: Re: FOP Issues https://issues.apache.org/jira/browse/OFBIZ-1401 Chris Howe wrote:I am having some trouble with FOP. It appears that performancesuffersexponentially for each additional page that is written in the body (overflowing to the next page). Two pages takes about a minute torender.Five pages takes about 10 minutes. Ten pages takes about a half hour. Plenty of memory available in the JVM, plenty of CPUavailable aswell. It completes the screen renderer quickly and gets stuck inthe FOPportion. Any hints or OOTB templates that would mimic the pageoverflow that I can test to see if it's choking on my template or ifit'sjust choking period? I've tried it with both .93 and .94.
smime.p7s
Description: S/MIME cryptographic signature
