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 23:11:00 UTC

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

     [ https://issues.apache.org/jira/browse/LOG4J2-3138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alireza Vahedi resolved LOG4J2-3138.
------------------------------------
    Resolution: Implemented

Implemented in below pull request:

https://github.com/apache/logging-log4j2/pull/562

> 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
>            Priority: Major
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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)