[ https://issues.apache.org/jira/browse/SOLR-8359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Gerlowski updated SOLR-8359: ---------------------------------- Attachment: SOLR-8359-nonfinal-values.patch I've attached a version of the patch (SOLR-8359-nonfinal-values.patch) which allows the cached {{debug}} value in {{HdfsUpdateLog}} to be updated on each call to {{preSoftCommit}}. Not sure that we want to take the approach I mentioned for this, but I couldn't think of any other way to do it, so I figured I'd upload it so people can at least offer feedback/suggest alternatives. > Restrict child classes from using parent logger's state > ------------------------------------------------------- > > Key: SOLR-8359 > URL: https://issues.apache.org/jira/browse/SOLR-8359 > Project: Solr > Issue Type: Sub-task > Reporter: Mike Drob > Fix For: Trunk > > Attachments: SOLR-8359-nonfinal-values.patch, SOLR-8359.patch, > SOLR-8359.patch > > > In SOLR-8330 we split up a lot of loggers. However, there are a few classes > that still use their parent's logging state and configuration indirectly. > {{HdfsUpdateLog}} and {{HdfsTransactionLog}} both use their parent class > cached read of {{boolean debug = log.isDebugEnabled()}}, when they should > check their own loggers instead. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org