Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to configure apache log4j for gwt application

 
peter tong
Ranch Hand
Posts: 246
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic