• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Get error information about log4j, please help me.

 
marshal ma
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
log4j:ERROR No output target set for appender named "A4"

when I start weblogic server, it give the above wrong information. Who knows what reason it may be?

In configure file, I set properties as followings:

log4j.rootCategory=INFO,A4

log4j.appender.A4=org.apache.log4j.FileAppender
log4j.appender.A4.file=PMTinXMLformat.log
log4j.appender.A4.layout=org.apache.log4j.xml.XMLLayout
log4j.appender.A4.append=false

Thanks for your help!

marshal
 
marshal ma
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

found the problem,
log4j.appender.A4.file=PMTinXMLformat.log
should be log4j.appender.A4.File=PMTinXMLformat.log

have you found their difference. Only a lower case problem make me spend hours.

Good luck to you!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic