File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes getting log4j appender settings to set Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "getting log4j appender settings to set" Watch "getting log4j appender settings to set" New topic
Author

getting log4j appender settings to set

peli rojo
Greenhorn

Joined: May 12, 2011
Posts: 1
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getting log4j appender settings to set