Just checking the obvious thing, are you running cassandra or cassandra.bat ? (cannot imagine you would even get as far as you did but I like asking questions).
It's all a bit strange because the code in 0.7.4 will throw some errors if it cannot resolve a path to load the config from. You can hard code the log config path by modifying the line -Dlog4j.configuration=log4j-server.properties^ in cassandra.bat and specifying a path using the file:// protocol Hope that helps. Aaron On 24 Mar 2011, at 19:40, david lee wrote: > 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
