[ 
https://issues.apache.org/jira/browse/SOLR-6833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14241659#comment-14241659
 ] 

Timothy Potter commented on SOLR-6833:
--------------------------------------

Actually, I think I want to go with using:

{code}
solr.log=${solr.solr.home}/../logs/
{code}

for the path to the logs directory (in log4j.properties) just in case someone 
wants to have a core named *logs*, there won't be any confusion. This results 
in the following directory structure:

bin/solr -e techproducts
{code}
example/techproducts/logs/solr.log
example/techproducts/solr/solr.xml
example/techproducts/solr/techproducts/data
example/techproducts/solr/techproducts/conf
example/techproducts/solr/techproducts/core.properties
{code}

bin/solr -e schemaless
{code}
example/schemaless/logs/solr.log
example/schemaless/solr/solr.xml
example/schemaless/solr/schemaless/data
example/schemaless/solr/schemaless/conf
example/schemaless/solr/schemaless/core.properties
{code}

bin/solr -e cloud
{code}
example/cloud/node1/logs/solr.log
example/cloud/node1/solr/solr.xml
example/cloud/node1/solr/...
example/cloud/node2/logs/solr.log
example/cloud/node2/solr/solr.xml
example/cloud/node2/solr/...
{code}

With that change, if the user just starts Solr without running any examples, 
then logs will be in server/logs.


> bin/solr -e foo should not use server/solr as the SOLR_HOME
> -----------------------------------------------------------
>
>                 Key: SOLR-6833
>                 URL: https://issues.apache.org/jira/browse/SOLR-6833
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Hoss Man
>            Assignee: Timothy Potter
>             Fix For: 5.0
>
>
> i think it's weird right now that running bin/solr with the "-e" (example) 
> option causes it to create example solr instances inside the server directory.
> i think that's fine for running solr "normally" (ie: "start") but if you use 
> "-e" that seems like the solr.solr.home for those example should instead be 
> created under $SOLR_TIP/example.
> I would even go so far as to suggest that the *log* files created should live 
> in that directory as well.



--
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

Reply via email to