[
https://issues.apache.org/jira/browse/SOLR-12144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16422784#comment-16422784
]
Varun Thacker commented on SOLR-12144:
--------------------------------------
{quote}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?
{quote}
I think we should fix this as part of SOLR-7887 . Let me fix that right away
> 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]