You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Alireza Vahedi (Jira)" <ji...@apache.org> on 2021/08/17 19:44:00 UTC

[jira] [Created] (LOG4J2-3138) Define a custom model for a json layout for creating custom json logs output

Alireza Vahedi created LOG4J2-3138:
--------------------------------------

             Summary: Define a custom model for a json layout for creating custom json logs output
                 Key: LOG4J2-3138
                 URL: https://issues.apache.org/jira/browse/LOG4J2-3138
             Project: Log4j 2
          Issue Type: New Feature
          Components: Core
            Reporter: Alireza Vahedi


In current json layout user can not define a custom json structure for json logs. For such purpose they have to define new layout. Why new layout is required when just the model structure of json has been changed?

I think we need a enhanced json layout that gets some class as target structure for generating json of logs, and user can configure it in log4j2 xml configurable file.



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