You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Volkan Yazici (Jira)" <ji...@apache.org> on 2020/11/24 14:56:00 UTC
[jira] [Created] (LOG4J2-2966) Investigate replacing
String.valueOf() usages in JTL with ParameterizedMessage.deepToString()
Volkan Yazici created LOG4J2-2966:
-------------------------------------
Summary: Investigate replacing String.valueOf() usages in JTL with ParameterizedMessage.deepToString()
Key: LOG4J2-2966
URL: https://issues.apache.org/jira/browse/LOG4J2-2966
Project: Log4j 2
Issue Type: Improvement
Reporter: Carter Kozak
Assignee: Volkan Yazici
Fix For: 2.15.0, 3.0.0
As shared by [~ckozak] in [a GitHub pull request conversation|https://github.com/apache/logging-log4j2/pull/441#discussion_r527706889]:
{quote}... we might want to use something like `ParameterizedMessage.deepToString(value)` for better handling of standard types, and exception handling in the case `toString` throws.{quote}
This story aims to investigate the possibility of replacing {{String.valueOf()}} usages in JTL with {{ParameterizedMessage.deepToString()}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)