logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "G.L. Grobe" <g...@grobe.net>
Subject could not find value for key
Date Sat, 03 Aug 2002 20:14:58 GMT
Anyone know what might be wrong w/ the following config to where I'd get the
error ...

log4j:ERROR Could not find value for key log4j.appender.CONSOLE.layout

So basically I've got ...

---

log4j.rootLogger=ERROR, CONSOLE
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender

# I added the next line thinking it would fix it but to no avail ...
log4j.appender.CONSOLE.layout.ConversionPattern=[%-5p]:\ %m%n

log4j.logger.com.neuroquest.cais.collectors=DEBUG, collectors
log4j.additivity.com.neuroquest.cais.collectors=false
log4j.appender.collectors=org.apache.log4j.RollingFileAppender
log4j.appender.collectors.File=logs/collector.log
log4j.appender.collectors.MaxFileSize=100KB
log4j.appender.collectors.MaxBackupIndex=1
log4j.appender.collectors.layout=org.apache.log4j.PatternLayout
log4j.appender.collectors.layout.ConversionPattern=[%-5p]:\ %m%n

log4j.logger.com.neuroquest.cais.io.process=DEBUG, procio
log4j.additivity.com.neuroquest.cais.io.process=false
log4j.appender.procio=org.apache.log4j.RollingFileAppender
log4j.appender.procio.File=logs/procio.log
log4j.appender.procio.MaxFileSize=100KB
log4j.appender.procio.MaxBackupIndex=1
log4j.appender.procio.layout=org.apache.log4j.PatternLayout
log4j.appender.procio.layout.ConversionPattern=[%-5p]:\ %m%n

Any help much appreciated.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message