Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
Similar Threads
How to start Tomcat without INFO: messages
remove log4j appender from an API
Logging Package Specific logs using LOG4J
log4j:WARN Please initialize the log4j system properly
how to filter log messages while using log4j ?