Piotr Karwasz created LOG4J2-3566:
-------------------------------------

             Summary: DefaultLogBuilder is not garbage-free
                 Key: LOG4J2-3566
                 URL: https://issues.apache.org/jira/browse/LOG4J2-3566
             Project: Log4j 2
          Issue Type: Improvement
          Components: API
    Affects Versions: 2.18.0
            Reporter: Piotr Karwasz


The default {{LogBuilder}} often calls the varargs 
{{MessageFactory#newMessage(String, Object...)}} method although a more 
appropriate method might be available in {{MessageFactory2}}.

We could add all {{MessageFactory2}} methods as default methods in 
{{MessageFactory}} to solve the problem.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to