logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charlin Huang" <charlin.hu...@spectel.com>
Subject RE: MDC & ObjectRenderer problem
Date Thu, 02 Jan 2003 15:37:28 GMT

Hello, I got the following from log4j

log4j:WARN No appenders could be found for logge
(com.spectel.cvapi.modapi.ModAPIConference).
log4j:WARN Please initialize the log4j system properly.

Here is the property file I used. Is anything missing here caused above
warn or something else ?

I appreciate any advice.
Charlin Huang
========================================================================
==========

# CVAPI logger properties
#		DEBUG, INFO, WARN, ERROR and FATAL 
#
# Set root logger level to DEBUG and its only appender to console and
file.
log4j.rootLogger=WARN, stdout, R

# stdout is set to be a ConsoleAppender, uses PatternLayout, Print the
date in ISO 8601 format
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d [%t] %-5p %c %x - %m%n

# R is set to be a log file
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=C:\\Projects\\ConfViewAPI\\logs\\dev.log
log4j.appender.R.MaxFileSize=500KB
log4j.appender.R.MaxBackupIndex=9
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%d [%t] %-5p %c - (%F:%L) %m%n

# Print only messages of level or above in a package.
log4j.logger.com.spectel.cvapi.modapi.message=INFO
log4j.logger.com.spectel.cvapi.modapi.S70XBridge=INFO
log4j.logger.com.spectel.cvapi.modapi.ModAPIConference=INFO
log4j.logger.com.spectel.cvapi.modapi.ModAPILine=INFO
log4j.logger.com.spectel.cvapi=INFO


--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>


Mime
View raw message