• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help set up log4j with weblogic 9.2

 
jay lai
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a log4j.properties locate at WEB-INF/properties/ directorty
When weblogic start, keep print out WARN: Log4j need to configure properly.
No found appender.
Is there any extra step in need to put in web.xml, or weblogic.xml in order to do the debug print out to console .
Thanks
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by jay lai:
I have a log4j.properties locate at WEB-INF/properties/ directorty
When weblogic start, keep print out WARN: Log4j need to configure properly.
No found appender.


The log4j.properties file should be in the classpath of the application. So move the file to either WEB-INF/classes or WEB-INF/lib folder.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic