You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2018/04/02 17:09:00 UTC
[jira] [Commented] (SOLR-12144) Remove SOLR_LOG_PRESTART_ROTATION
and leverage log4j2
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org