Other than getting a warning, your log4j.properties file worked for me. It wrote to messages.log in the directory I was running the
java command from. I am using version 1.2.14.
log4j:WARN No such property [target] in org.apache.log4j.FileAppender.
Is it really using the properties file you think it is?
Try adding log4j.debug=true to the properties file or a system property to the java call (it will put out some internal debug info to the console including how it is getting configured):
-Dlog4j.debug
[edited to add version number]
[ January 08, 2007: Message edited by: Carol Enderlin ]