[
https://issues.apache.org/jira/browse/SOLR-18036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18047034#comment-18047034
]
ASF subversion and git services commented on SOLR-18036:
--------------------------------------------------------
Commit 15fa74eb8f6f6a58b6462067acee389446a658fb in solr's branch
refs/heads/branch_10_0 from Jan Høydahl
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=15fa74eb8f6 ]
SOLR-18036 Auto migrate /var/solr/log4j2.xml when upgrading to Solr 10.x docker
image (#3958)
(cherry picked from commit 16511419ae246b4c69ba9960f2eecc329c95c839)
> [Docker] Auto migrate log4j2.xml from solr.log.dir to solr.logs.dir
> -------------------------------------------------------------------
>
> Key: SOLR-18036
> URL: https://issues.apache.org/jira/browse/SOLR-18036
> Project: Solr
> Issue Type: Improvement
> Components: Docker, logging
> Reporter: Jan Høydahl
> Assignee: Jan Høydahl
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 10.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When users upgrade from 9.x to 10.0, the system property for log dir
> {{solr.log.dir}} is different, but users will have a {{log4j2.xml}} file in
> {{/var/solr}} which still uses the old property, and we won't overwrite that.
> To avoid surprises and need for manual edit of the volume, we should offer to
> auto migrate this property in the log config file when solr 10 starts up.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]