[jira] [Commented] (SOLR-9047) zkcli should allow alternative locations for log4j configuration
[ https://issues.apache.org/jira/browse/SOLR-9047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15337377#comment-15337377 ] ASF subversion and git services commented on SOLR-9047: --- Commit c64b1194af9328c4da7bc5f5f08cbac93db3e7bf in lucene-solr's branch refs/heads/branch_5x from [~steve_rowe] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c64b119 ] SOLR-9047: Remove misplaced CHANGES entry > zkcli should allow alternative locations for log4j configuration > > > Key: SOLR-9047 > URL: https://issues.apache.org/jira/browse/SOLR-9047 > Project: Solr > Issue Type: Improvement > Components: scripts and tools, SolrCloud >Reporter: Gregory Chanan >Assignee: Gregory Chanan >Priority: Minor > Fix For: 6.1, master (7.0) > > Attachments: SOLR-9047.patch, SOLR-9047.patch > > > zkcli uses the log4j configuration in the local directory: > {code} > 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+"$@"} > {code} > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9047) zkcli should allow alternative locations for log4j configuration
[ https://issues.apache.org/jira/browse/SOLR-9047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15337376#comment-15337376 ] ASF subversion and git services commented on SOLR-9047: --- Commit 1eb3093311682a2db108dd5e6d6f4aea52bee973 in lucene-solr's branch refs/heads/branch_5x from [~gchanan] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=1eb3093 ] SOLR-9047: zkcli should allow alternative locations for log4j configuration > zkcli should allow alternative locations for log4j configuration > > > Key: SOLR-9047 > URL: https://issues.apache.org/jira/browse/SOLR-9047 > Project: Solr > Issue Type: Improvement > Components: scripts and tools, SolrCloud >Reporter: Gregory Chanan >Assignee: Gregory Chanan >Priority: Minor > Fix For: 6.1, master (7.0) > > Attachments: SOLR-9047.patch, SOLR-9047.patch > > > zkcli uses the log4j configuration in the local directory: > {code} > 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+"$@"} > {code} > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9047) zkcli should allow alternative locations for log4j configuration
[ https://issues.apache.org/jira/browse/SOLR-9047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15337375#comment-15337375 ] ASF subversion and git services commented on SOLR-9047: --- Commit 66c16651baa88a2dcdef392e2f76870334136821 in lucene-solr's branch refs/heads/branch_5_5 from [~gchanan] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=66c1665 ] SOLR-9047: zkcli should allow alternative locations for log4j configuration > zkcli should allow alternative locations for log4j configuration > > > Key: SOLR-9047 > URL: https://issues.apache.org/jira/browse/SOLR-9047 > Project: Solr > Issue Type: Improvement > Components: scripts and tools, SolrCloud >Reporter: Gregory Chanan >Assignee: Gregory Chanan >Priority: Minor > Fix For: 6.1, master (7.0) > > Attachments: SOLR-9047.patch, SOLR-9047.patch > > > zkcli uses the log4j configuration in the local directory: > {code} > 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+"$@"} > {code} > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9047) zkcli should allow alternative locations for log4j configuration
[ https://issues.apache.org/jira/browse/SOLR-9047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15264850#comment-15264850 ] ASF subversion and git services commented on SOLR-9047: --- Commit 6e2d80d3a8f4434499bbeee81afa47a52252c143 in lucene-solr's branch refs/heads/master from [~gchanan] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=6e2d80d ] SOLR-9047: fix windows script > zkcli should allow alternative locations for log4j configuration > > > Key: SOLR-9047 > URL: https://issues.apache.org/jira/browse/SOLR-9047 > Project: Solr > Issue Type: Improvement > Components: scripts and tools, SolrCloud >Reporter: Gregory Chanan >Assignee: Gregory Chanan >Priority: Minor > Fix For: 6.1, trunk > > Attachments: SOLR-9047.patch, SOLR-9047.patch > > > zkcli uses the log4j configuration in the local directory: > {code} > 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+"$@"} > {code} > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9047) zkcli should allow alternative locations for log4j configuration
[ https://issues.apache.org/jira/browse/SOLR-9047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15264849#comment-15264849 ] ASF subversion and git services commented on SOLR-9047: --- Commit ad152d23d5e70121f5e6ddc4bae5dabb288b96c2 in lucene-solr's branch refs/heads/branch_6x from [~gchanan] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=ad152d2 ] SOLR-9047: fix windows script > zkcli should allow alternative locations for log4j configuration > > > Key: SOLR-9047 > URL: https://issues.apache.org/jira/browse/SOLR-9047 > Project: Solr > Issue Type: Improvement > Components: scripts and tools, SolrCloud >Reporter: Gregory Chanan >Assignee: Gregory Chanan >Priority: Minor > Fix For: 6.1, trunk > > Attachments: SOLR-9047.patch, SOLR-9047.patch > > > zkcli uses the log4j configuration in the local directory: > {code} > 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+"$@"} > {code} > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9047) zkcli should allow alternative locations for log4j configuration
[ https://issues.apache.org/jira/browse/SOLR-9047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15264760#comment-15264760 ] ASF subversion and git services commented on SOLR-9047: --- Commit 67ebfb1cc257808e53f74d9c38a9729ded87a330 in lucene-solr's branch refs/heads/branch_6x from [~gchanan] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=67ebfb1 ] SOLR-9047: zkcli should allow alternative locations for log4j configuration > zkcli should allow alternative locations for log4j configuration > > > Key: SOLR-9047 > URL: https://issues.apache.org/jira/browse/SOLR-9047 > Project: Solr > Issue Type: Improvement > Components: scripts and tools, SolrCloud >Reporter: Gregory Chanan >Assignee: Gregory Chanan >Priority: Minor > Attachments: SOLR-9047.patch, SOLR-9047.patch > > > zkcli uses the log4j configuration in the local directory: > {code} > 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+"$@"} > {code} > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9047) zkcli should allow alternative locations for log4j configuration
[ https://issues.apache.org/jira/browse/SOLR-9047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15264495#comment-15264495 ] ASF subversion and git services commented on SOLR-9047: --- Commit 0dec8f9415a9d97a93870a416e96366db60a72fa in lucene-solr's branch refs/heads/master from [~gchanan] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=0dec8f9 ] SOLR-9047: zkcli should allow alternative locations for log4j configuration > zkcli should allow alternative locations for log4j configuration > > > Key: SOLR-9047 > URL: https://issues.apache.org/jira/browse/SOLR-9047 > Project: Solr > Issue Type: Improvement > Components: scripts and tools, SolrCloud >Reporter: Gregory Chanan >Assignee: Gregory Chanan >Priority: Minor > Attachments: SOLR-9047.patch, SOLR-9047.patch > > > zkcli uses the log4j configuration in the local directory: > {code} > 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+"$@"} > {code} > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9047) zkcli should allow alternative locations for log4j configuration
[ https://issues.apache.org/jira/browse/SOLR-9047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15264028#comment-15264028 ] Christine Poerschke commented on SOLR-9047: --- Looks okay to me too (though can't test on windows either). > zkcli should allow alternative locations for log4j configuration > > > Key: SOLR-9047 > URL: https://issues.apache.org/jira/browse/SOLR-9047 > Project: Solr > Issue Type: Improvement > Components: scripts and tools, SolrCloud >Reporter: Gregory Chanan >Assignee: Gregory Chanan >Priority: Minor > Attachments: SOLR-9047.patch, SOLR-9047.patch > > > zkcli uses the log4j configuration in the local directory: > {code} > 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+"$@"} > {code} > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9047) zkcli should allow alternative locations for log4j configuration
[ https://issues.apache.org/jira/browse/SOLR-9047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15263369#comment-15263369 ] Mark Miller commented on SOLR-9047: --- Looks okay to me, though caps style doesn't match existing in the batch file. > zkcli should allow alternative locations for log4j configuration > > > Key: SOLR-9047 > URL: https://issues.apache.org/jira/browse/SOLR-9047 > Project: Solr > Issue Type: Improvement > Components: scripts and tools, SolrCloud >Reporter: Gregory Chanan >Assignee: Gregory Chanan >Priority: Minor > Attachments: SOLR-9047.patch > > > zkcli uses the log4j configuration in the local directory: > {code} > 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+"$@"} > {code} > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9047) zkcli should allow alternative locations for log4j configuration
[ https://issues.apache.org/jira/browse/SOLR-9047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15261416#comment-15261416 ] Gregory Chanan commented on SOLR-9047: -- bq. is it time to just kill zkcli and move it's functionality into bin/solr ? probably :). In any case that would be a 7.x change, right? This would be useful in 6.x imo. > zkcli should allow alternative locations for log4j configuration > > > Key: SOLR-9047 > URL: https://issues.apache.org/jira/browse/SOLR-9047 > Project: Solr > Issue Type: Improvement > Components: scripts and tools, SolrCloud >Reporter: Gregory Chanan >Assignee: Gregory Chanan >Priority: Minor > > zkcli uses the log4j configuration in the local directory: > {code} > 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+"$@"} > {code} > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9047) zkcli should allow alternative locations for log4j configuration
[ https://issues.apache.org/jira/browse/SOLR-9047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15261412#comment-15261412 ] Hoss Man commented on SOLR-9047: is it time to just kill zkcli and move it's functionality into bin/solr ? > zkcli should allow alternative locations for log4j configuration > > > Key: SOLR-9047 > URL: https://issues.apache.org/jira/browse/SOLR-9047 > Project: Solr > Issue Type: Improvement > Components: scripts and tools, SolrCloud >Reporter: Gregory Chanan >Assignee: Gregory Chanan >Priority: Minor > > zkcli uses the log4j configuration in the local directory: > {code} > 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+"$@"} > {code} > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org