[ANNOUNCEMENT] Apache Log4j 2.0.1 released

2014-08-05 Thread Matt Sicker
The Apache Log4j 2 team is pleased to announce the Log4j 2.0.1 release! Apache log4j is a well known framework for logging application behavior. Log4j 2 is an upgrade to Log4j that provides significant improvements over its predecessor, Log4j 1.x, and provides many of the improvements available in

Re: Log4j 2.x to GELF

2014-08-05 Thread Mikael Ståldal
OK, new version attached to JIRA issue, with proper naming. Also added GZIP compression. On Tue, Aug 5, 2014 at 5:30 PM, Gary Gregory wrote: > Note that we use camel case for names, even for acronyms, so the class > should be called GelfLayout. > > Gary > > > On Tue, Aug 5, 2014 at 11:27 AM, Mi

Re: Separate the event logs generated by EventLogger Logs. How?

2014-08-05 Thread Ralph Goers
The normal way to segregate events would be to filter on something in the StucturedDataMessage - either the event type, event id or one of the attributes. Ralph On Aug 5, 2014, at 5:12 AM, parkirat wrote: > Hi All, > > I got the issue fixed. Change the configuration of log4j2.xml as below: >

Re: Log4j 2.x to GELF

2014-08-05 Thread Gary Gregory
Note that we use camel case for names, even for acronyms, so the class should be called GelfLayout. Gary On Tue, Aug 5, 2014 at 11:27 AM, Mikael Ståldal < mikael.stal...@appearnetworks.com> wrote: > I have made a GELFLayout, I have attached it to the JIRA issue. > > > On Tue, Aug 5, 2014 at 2:5

Re: Log4j 2.x to GELF

2014-08-05 Thread Mikael Ståldal
I have made a GELFLayout, I have attached it to the JIRA issue. On Tue, Aug 5, 2014 at 2:52 PM, Remko Popma wrote: > Oh really? That could be, I confess that I did not search JIRA before > answering that. > -Remko > > > On Tue, Aug 5, 2014 at 9:45 PM, Gary Gregory > wrote: > > > Hm, I thought

Re: Separate the event logs generated by EventLogger Logs. How?

2014-08-05 Thread parkirat
Hi, Avoid the event type and event id is done by overriding the StructuredDataMessageClass. Regards, Parkirat Singh Bagga. -- View this message in context: http://apache-logging.6191.n7.nabble.com/Separate-the-event-logs-generated-by-EventLogger-Logs-How-tp50112p50130.html Sent from the Log4j

Re: Log4j 2.x to GELF

2014-08-05 Thread Remko Popma
Oh really? That could be, I confess that I did not search JIRA before answering that. -Remko On Tue, Aug 5, 2014 at 9:45 PM, Gary Gregory wrote: > Hm, I thought someone had created a Jira and patch already... > > Gary > > Original message From: Remko Popma < > remko.po...@gmail

Re: Log4j 2.x to GELF

2014-08-05 Thread Matt Sicker
https://issues.apache.org/jira/browse/LOG4J2-428 On 5 August 2014 07:45, Gary Gregory wrote: > Hm, I thought someone had created a Jira and patch already... > > Gary > > Original message From: Remko Popma < > remko.po...@gmail.com> Date:08/05/2014 08:07 (GMT-05:00) > To: Log4

Re: Log4j 2.x to GELF

2014-08-05 Thread Gary Gregory
Hm, I thought someone had created a Jira and patch already... Gary Original message From: Remko Popma Date:08/05/2014 08:07 (GMT-05:00) To: Log4J Users List Subject: Re: Log4j 2.x to GELF There is nothing yet at the moment, but contributions are always welcome! Best rega

Re: Separate the event logs generated by EventLogger Logs. How?

2014-08-05 Thread parkirat
Hi All, I got the issue fixed. Change the configuration of log4j2.xml as below: Instead of name="package" gave name="EventLogger" not sure how to configure, if I would like to have different Appenders for different Event Logs in different package. = =

Re: Log4j 2.x to GELF

2014-08-05 Thread Remko Popma
There is nothing yet at the moment, but contributions are always welcome! Best regards, Remko On Tue, Aug 5, 2014 at 9:04 PM, Mikael Ståldal < mikael.stal...@appearnetworks.com> wrote: > Are there any plugins (Appender or Layout) for Log4j 2.x to produce GELF ( > http://graylog2.org/gelf)? > >

Log4j 2.x to GELF

2014-08-05 Thread Mikael Ståldal
Are there any plugins (Appender or Layout) for Log4j 2.x to produce GELF ( http://graylog2.org/gelf)? I found a few, but only for Log4j 1.x. -- Mikael Ståldal Chief Software Architect *Appear* Phone: +46 8 545 91 572 Email: mikael.stal...@appearnetworks.com

Separate the event logs generated by EventLogger Logs. How?

2014-08-05 Thread parkirat
Hi, I am using log4j2 version 2.0.1. I have configured 2 Loggers viz. root logger and another logger with additivity as false and . Now my application logs goes to root logger to Rolling File Appender which works fine. But I want to separate out the event logs generated by my application to a d