[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4j-dev
Subject:    [jira] [Created] (LOG4J2-1342) ReusableParameterizedMessage should preserve parameters when used wit
From:       "Remko Popma (JIRA)" <jira () apache ! org>
Date:       2016-03-31 7:14:25
Message-ID: JIRA.12954878.1459408441000.97875.1459408465569 () Atlassian ! JIRA
[Download RAW message or body]

Remko Popma created LOG4J2-1342:
-----------------------------------

             Summary: ReusableParameterizedMessage should preserve parameters when \
used with Async Loggers  Key: LOG4J2-1342
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1342
             Project: Log4j 2
          Issue Type: Bug
          Components: API
    Affects Versions: 2.6
            Reporter: Remko Popma
            Assignee: Remko Popma
             Fix For: 2.6


AsyncLogger correctly copies the contents of ReusableParameterizedMessages rather \
than the instance itself when passing the message to the background thread. 

However the copy in incomplete: the formatted text is copied into the \
RingbufferLogEvent but message parameters are not transferred. 

This is a problem because some layouts like CsvParameterLayout need access to the raw \
parameters.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic