Re: how to configure apache log4j for gwt application

2012-02-13 Thread tong123123
thanks, finally I found the following link is useful http://groups.google.com/group/google-web-toolkit/browse_thread/thread/a26afdfd0035f2c7/87789151dc14e380?hl=enlnk=gstq=log4j#87789151dc14e380 On Feb 10, 5:27 pm, karthik vadapalli karthik29...@gmail.com wrote: hi tong look at this may be it

how to configure apache log4j for gwt application

2012-02-10 Thread tong123123
I placed the log4j-1.2.16.jar under WEB-INF\llib\ in server code, I write the following class DBConnection{ private static Logger logger = Logger.getLogger(DBConnection.class); public static Connection getConnection(){ PropertyConfigurator.configure(server_resources/log4j.properties); then

Re: how to configure apache log4j for gwt application

2012-02-10 Thread karthik vadapalli
hi tong look at this may be it was useful for you http://whatwouldnickdo.com/wordpress/186/gwt-hosted-mode-and-log4j/ On Fri, Feb 10, 2012 at 2:51 PM, tong123123 tong123...@gmail.com wrote: I placed the log4j-1.2.16.jar under WEB-INF\llib\ in server code, I write the following class