Tuesday, August 14, 2012

log4j in gwt app

Hi there,

i'm getting frustrated more and more. I'm using an ORM Mapper Apache Cayenne. Since i turned of the AppEngine its working fine on the server side. For some reasons Cayenne uses log4j logging "INFO" as default value. That results a lot of logging Information. In other Servlet or Java Apps i just have to add this line to my log4j.properties file to turn logging off:

# Turn SQL tracing off, e.g. to increase performance log4j.logger.org.apache.cayenne.access.QueryLogger = WARN

Therefore i placed a log4j.properties file within my src directory (like all other cayenne depending files; dbconnection etc). But i guess gwt ignores this one file. all other depending files are obviously in use.

does anybody knows how to setup gwt for configuring log4j, even if its just used implicit?

This logging kils my app performance.

Thanks!!

Jepse


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/n6be-L2Ue34J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate