File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "getting log4j appender settings to set" Watch "getting log4j appender settings to set" New topic

getting log4j appender settings to set

peli rojo

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.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:
subject: getting log4j appender settings to set
Similar Threads
remove log4j appender from an API
log4j:WARN Please initialize the log4j system properly
Logging Package Specific logs using LOG4J
how to filter log messages while using log4j ?
How to start Tomcat without INFO: messages