You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Chris M. Hostetter (Jira)" <ji...@apache.org> on 2021/09/09 21:41:00 UTC

[jira] [Commented] (SOLR-15622) SolrLogLayout should be deleted

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

Chris M. Hostetter commented on SOLR-15622:
-------------------------------------------

This public class has never been officially "deprecated" – but it's also never been documented, nor intended for public use (it needed to be public so that it could be used in the {{log4j.properties}} file.

I feel like it should be fair game for deletion in 9.0.

> SolrLogLayout should be deleted
> -------------------------------
>
>                 Key: SOLR-15622
>                 URL: https://issues.apache.org/jira/browse/SOLR-15622
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Chris M. Hostetter
>            Priority: Major
>
> SolrLogLayout is dead code. 
> Once upon a time, a version of this code was evidently configured in *_*TEST*_* {{log4j.properties}} but during the log4j2 upgrade (Solr 7.4, SOLR-7887) tests were switched to use PatternLayout (just like the "real" Solr log4j configuration had always used)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org