I managed to get a setup with a log4j binding working. I modified the build script so that the dist-war-excl-slf4j target excludes all jars with slf4j in the name. Then I put jars from the newest versions of slf4j and log4j into lib/ext under the jetty home. Then I added -Dlog4j.configuration=file:etc/log4j.properties to the java commandline.

ncindex@bigindy5 /opt/solr4 $ ls lib/ext
jcl-over-slf4j-1.7.2.jar  log4j-over-slf4j-1.7.2.jar slf4j-log4j12-1.7.2.jar
log4j-1.2.17.jar          slf4j-api-1.7.2.jar

I've run into a new problem that may be related to seeing "Log watching is not yet implemented for log4j" in the log. I can no longer change logging levels in the GUI. When I click on Logging and then click on Level, I get a spinning icon and it says "Loading ..." but never finishes. I'm thinking I should file an issue in Jira.

I started with branch_4x checked out about an hour before writing this message.

Thanks,
Shawn

Reply via email to