You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by Volkan Yazıcı <vo...@gmail.com> on 2021/06/04 10:20:36 UTC

Review request: LOG4J2-3080 Use SimpleMessage in Log4j 1 Category whenever possible

Even though LOG4J2-3080 <https://issues.apache.org/jira/browse/LOG4J2-3080>
appears like a JsonTemplateLayout problem, it is more related with Log4j 1
Category implementation always using either MapMessage or ObjectMessage
rather than SimpleMessage whenever possible. I have enhanced
Category#maybeLog() accordingly to check for String and CharSequence types
too. I would appreciate it if one can review GitHub PR #504
<https://github.com/apache/logging-log4j2/pull/504>.