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/11/18 00:20:00 UTC

[jira] [Created] (SOLR-15807) Add a "LogInterceptor" helpe class that makes it easy to inspect & assert expected log messages

Chris M. Hostetter created SOLR-15807:
-----------------------------------------

             Summary: Add a "LogInterceptor" helpe class that makes it easy to inspect & assert expected log messages
                 Key: SOLR-15807
                 URL: https://issues.apache.org/jira/browse/SOLR-15807
             Project: Solr
          Issue Type: Sub-task
            Reporter: Chris M. Hostetter
            Assignee: Chris M. Hostetter


Following on some of the ideas started/outlined in the parent task...

we should have an easy way for a block of test code to "intercept" and make assertions about log messages from specific loggers (at specific log levels, matching specific substrings/regexes) that happen as a result of some actions during the test code.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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