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 2021/08/26 14:37:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17405271#comment-17405271 ] 

Volkan Yazici commented on LOG4J2-3138:
---------------------------------------

Closing the ticket due to insufficient justification of the feature. See the associated [GitHub Pull Request #562|https://github.com/apache/logging-log4j2/pull/562] for further discussions.

> 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
>            Assignee: Volkan Yazici
>            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)