• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using log4j and WSAD 5

 
vibeeshan kambli
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I got following error while configuring log4j in WSAD 5.
log4j:WARN No appenders could be found for logger (testpack.HelloBean).
log4j:WARN Please initialize the log4j system properly.
I have wsad 5 enterprise application proj
under this project under java jar dependencies i specified log4j jar file
I have strucuture like(MyPoj\config\lib\log4j.jar and i have log4j.properites MyPoj\config\lib\log4j.properties)
and I added my MYproj folder to server classpath
still i am getting the above error
What could be the problem?
I saw abache website they gave solution like
---
Log4j does not have a default logging target. It is the user's responsibility to ensure that all categories can inherit an appender. This can be easily achieved by attaching an appender to the root category
--
what is this mean?how to configure log4j inside WSAD5
I am using Test Environment Server 5.0 inside WSAD5.0
thanks
vishnu
 
vibeeshan kambli
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found this articile very usefull
and it solved my problem
http://www.webagesolutions.com/knowledgebase/waskb/waskb004/index.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic