How do I control the output of a specific logger?
For example:

LoggerPtr stufflog(Logger::getLogger("STUFFLoger"));

LOG4CXX_INFO(stufflog, "Stuff testing");

My config file:
log4j.rootLogger=DEBUG, stdout

log4j.appender.stdout=org.apache.log4j.ConsoleAppender 
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

# Pattern to output the caller's file name and line number. 
log4j.appender.stdout.layout.ConversionPattern=%5p - %m%n

log4j.monLogger = WARN



The line log4j.monLogger = WARN doesn't seem to suppress the output
"Stuff testing".  Any idea what I'm doing wrong or the proper way to do
it?

Thanks
Thierry         

Reply via email to