File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getting log4j appender settings to set

 
peli rojo
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all.
I've implemented a log4j Appender, and everything works except when i try to set the options via the config file they all seem to be null.

example config:

log4j.appender.myAppender=MyAppender
log4j.appender.myAppender.user = daniel
log4j.rootLogger=DEBUG, myAppender

In this case "user" is still null (ive also tried using .User and "daniel" as the value)
any ideas why?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic