You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Bernd Fehling (JIRA)" <ji...@apache.org> on 2017/05/08 12:12:04 UTC

[jira] [Commented] (SOLR-10632) logfiles are moved to archived if server is still running

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

Bernd Fehling commented on SOLR-10632:
--------------------------------------

I would also recommend changing solr-x.y.z/server/resources/log4j.properties line "solr.log=${solr.log.dir}" to
"solr.log=${solr.solr.home}/../logs" as it is in solr-x.y.z/example/resources/log4j.properties.
This eliminates a major pitfall while setting up separate node directories with separate logging on one sever.


> logfiles are moved to archived if server is still running
> ---------------------------------------------------------
>
>                 Key: SOLR-10632
>                 URL: https://issues.apache.org/jira/browse/SOLR-10632
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: logging
>    Affects Versions: 6.5
>            Reporter: Bernd Fehling
>            Priority: Minor
>
> There are server logfiles without portnumber in logfile name. If another instance is started these logfiles are moved to archived, eventhough the other server is still running.
> Solution could be to give every logfile a name with the portnumber it belongs to. Or check if a logfile is still in use and quit with an error before moving to archived.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org