You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Volkan Yazıcı <vo...@gmail.com> on 2017/05/06 17:59:52 UTC

Custom Fields in JsonLayout

Hello,

In Log4j 2.x, I want to introduce custom fields to JsonLayout via
configuration. Is that something doable? Or shall I come back with a JIRA
ticket+patch?

Best.

Re: Custom Fields in JsonLayout

Posted by Volkan Yazıcı <vo...@gmail.com>.
Mikael, would you mind checking my comments in the ticket?

On Mon, May 8, 2017 at 3:19 PM, Mikael Ståldal <mi...@magine.com>
wrote:

> There is a JIRA ticket already:
> https://issues.apache.org/jira/browse/LOG4J2-1694
>
> On Sat, May 6, 2017 at 7:59 PM, Volkan Yazıcı <vo...@gmail.com>
> wrote:
>
> > Hello,
> >
> > In Log4j 2.x, I want to introduce custom fields to JsonLayout via
> > configuration. Is that something doable? Or shall I come back with a JIRA
> > ticket+patch?
> >
> > Best.
> >
>
>
>
> --
> [image: MagineTV]
>
> *Mikael Ståldal*
> Senior software developer
>
> *Magine TV*
> mikael.staldal@magine.com
> Grev Turegatan 3  | 114 46 Stockholm, Sweden  |   www.magine.com
>
> Privileged and/or Confidential Information may be contained in this
> message. If you are not the addressee indicated in this message
> (or responsible for delivery of the message to such a person), you may not
> copy or deliver this message to anyone. In such case,
> you should destroy this message and kindly notify the sender by reply
> email.
>

Re: Custom Fields in JsonLayout

Posted by Mikael Ståldal <mi...@magine.com>.
There is a JIRA ticket already:
https://issues.apache.org/jira/browse/LOG4J2-1694

On Sat, May 6, 2017 at 7:59 PM, Volkan Yazıcı <vo...@gmail.com>
wrote:

> Hello,
>
> In Log4j 2.x, I want to introduce custom fields to JsonLayout via
> configuration. Is that something doable? Or shall I come back with a JIRA
> ticket+patch?
>
> Best.
>



-- 
[image: MagineTV]

*Mikael Ståldal*
Senior software developer

*Magine TV*
mikael.staldal@magine.com
Grev Turegatan 3  | 114 46 Stockholm, Sweden  |   www.magine.com

Privileged and/or Confidential Information may be contained in this
message. If you are not the addressee indicated in this message
(or responsible for delivery of the message to such a person), you may not
copy or deliver this message to anyone. In such case,
you should destroy this message and kindly notify the sender by reply
email.