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

Varun Thacker commented on SOLR-12144:
--------------------------------------

{quote} Guess the reason for {{solr.N.log}} being default in log4j2 is for 
better file type recognition. 
{quote}
Makes sense but I felt we should stick to the old naming pattern for now since 
it will break apps that collect log files . Hence I committed the change as 
part of SOLR-7887 to use the old logging pattern convention

> 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, 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]

Reply via email to