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

Volkan Yazici edited comment on LOG4J2-3017 at 2/9/21, 1:41 PM:
----------------------------------------------------------------

Reproduction path:

{code:groovy}
package groovytest

class TestLogging {

    static void main(String[] args) {
        SomeClass someclass = new SomeClass();
        Log logger = LogFactory.getLog(TestLogging.class) 
        logger.info("HelloWorld ${someclass}"); 
        logger.info("NumberOfcalls " + someclass.noOfCalls);
     }
 }
{code}


was (Author: cliviu):
package groovytest

 

class TestLogging {
 
 static void main(String[] args) {
     SomeClass someclass = new SomeClass();
    Log logger = LogFactory.getLog(TestLogging.class) 
    logger.info("HelloWorld ${someclass}"); 
   logger.info("NumberOfcalls " + someclass.noOfCalls);
 }
}

> Groovy logging of GString with $ notation is very slow
> ------------------------------------------------------
>
>                 Key: LOG4J2-3017
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3017
>             Project: Log4j 2
>          Issue Type: Question
>            Reporter: Liviu Carausu
>            Priority: Major
>
>  
> Logging of GString is very slow.



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

Reply via email to