GeeCON Prague 2014*
The moose likes GWT and the fly likes how to configure apache log4j for gwt application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » GWT
Bookmark "how to configure apache log4j for gwt application" Watch "how to configure apache log4j for gwt application" New topic
Author

how to configure apache log4j for gwt application

peter tong
Ranch Hand

Joined: Mar 15, 2008
Posts: 240
I placed the log4j-1.2.16.jar under WEB-INF\llib\

in server code, I write the following


then the console show error:

java.io.FileNotFoundException: server_resources\log4j.properties (the system cannot find the path specified)


how to make it found the log4j.properties?

I try to copy the server_resources/log4j.properties under web-inf and placed inside war, it is ok and no error, but I want it placed under WEB-inf, no method if placed under web-inf?
 
GeeCON Prague 2014
 
subject: how to configure apache log4j for gwt application