Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9047

zkcli should allow alternative locations for log4j configuration

    Details

      Description

      zkcli uses the log4j configuration in the local directory:

      sdir="`dirname \"$0\"`"
      
      PATH=$JAVA_HOME/bin:$PATH $JVM -Dlog4j.configuration=file:$sdir/log4j.properties -classpath "$sdir/../../solr-webapp/webapp/WEB-INF/lib/*:$sdir/../../lib/ext/*" org.apache.solr.cloud.ZkCLI ${1+"$@"}
      

      which is a reasonable default, but often people want to use a "global" log4j configuration. For example, one may define a log4j configuration that writes to an external log directory and want to point to this rather than copying it to each source checkout.

        Attachments

        1. SOLR-9047.patch
          2 kB
          Gregory Chanan
        2. SOLR-9047.patch
          2 kB
          Gregory Chanan

          Activity

            People

            • Assignee:
              gchanan Gregory Chanan
              Reporter:
              gchanan Gregory Chanan
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: