incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From david lee <iecan...@gmail.com>
Subject log4j settings inquiry
Date Thu, 24 Mar 2011 06:40:13 GMT
hi,
i'm trying to run cassandra 0.7 on my windows machine,
and i don't seem to be able to go beyond the warning message

C:\Program Files\Apache Software
Foundation\apache-cassandra-0.7.4\bin>cassandra
 -f
Starting Cassandra Server
log4j:WARN No appenders could be found for logger
(org.apache.cassandra.service.
AbstractCassandraDaemon).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
more in
fo.

in my conf folder, i have log4j-server.properties which looks like
log4j.rootLogger=INFO,stdout,R

# stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%5p %d{HH:mm:ss,SSS} %m%n

# rolling log file
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.maxFileSize=20MB
log4j.appender.R.maxBackupIndex=50
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%5p [%t] %d{ISO8601} %F (line %L)
%m%n
# Edit the next line to point to your logs directory
log4j.appender.R.File=file:C:/var/log/cassandra/system.log

any help will be much appreciated.

thanx in advnace

Mime
View raw message