[hidden email] wrote:
> Author: doogie
> Date: Wed Mar 24 00:08:40 2010
> New Revision: 926874
>
> URL:
http://svn.apache.org/viewvc?rev=926874&view=rev> Log:
> Fix very slow startup times, by turning off excessive debugging. This
> gave a 40% speedup in startup time on a production server.
>
> Modified:
> ofbiz/trunk/framework/base/config/log4j.xml
>
> Modified: ofbiz/trunk/framework/base/config/log4j.xml
> URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/config/log4j.xml?rev=926874&r1=926873&r2=926874&view=diff> ==============================================================================
> --- ofbiz/trunk/framework/base/config/log4j.xml (original)
> +++ ofbiz/trunk/framework/base/config/log4j.xml Wed Mar 24 00:08:40 2010
> @@ -145,11 +145,19 @@
> <priority value="warn"/>
> </category>
>
> + <category name="org.apache.commons.digester">
> + <priority value="warn"/>
> + </category>
> +
> <!-- log4j category -->
> <category name="org.apache.log4j">
> <priority value="warn"/>
> </category>
>
> + <category name="org.apache.tomcat">
> + <priority value="warn"/>
> + </category>
> +
> <!-- log minerva to the special log >
> <category name="org.ofbiz.minerva">
> <priority value="warn"/>
Before:
garden-ng:/usr/share/ofbiz/hot-deploy# /etc/init.d/ofbiz stop
Stopping OfBiz Container: ofbiz..
garden-ng:/usr/share/ofbiz/hot-deploy# /etc/init.d/ofbiz start
Starting OfBiz Container: ofbiz............................
After:
garden-ng:/usr/share/ofbiz/hot-deploy# /etc/init.d/ofbiz stop
Stopping OfBiz Container: ofbiz..
garden-ng:/usr/share/ofbiz/hot-deploy# /etc/init.d/ofbiz start
Starting OfBiz Container: ofbiz...............