[
https://issues.apache.org/jira/browse/SOLR-12144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16416916#comment-16416916
]
Jan Høydahl commented on SOLR-12144:
------------------------------------
One more thing to mention - the {{rotate_solr_logs}} feature only works for the
old file name pattern {{solr.log.N,}} while the new naming is {{solr.N.log}}.
We should either document this so people who change log framework and want to
use rotation can setup naming accordingly, or make the pattern configurable?
> Remove SOLR_LOG_PRESTART_ROTATION and leverage log4j2
> ------------------------------------------------------
>
> Key: SOLR-12144
> URL: https://issues.apache.org/jira/browse/SOLR-12144
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: scripts and tools
> Reporter: Varun Thacker
> Assignee: Jan Høydahl
> Priority: Major
> Fix For: 7.4, master (8.0)
>
> Attachments: SOLR-12144.patch, SOLR-12144.patch
>
>
> With log4j2 rotating the file on restart is as simple as adding a policy -
> OnStartupTriggeringPolicy
> So we can remove Solr logic which does the same and exposes it via
> SOLR_LOG_PRESTART_ROTATION .
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]