Re: Logstash & Log4J2

2014-05-19 Thread Gary Gregory
Make sure you use the download, build and use the trunk version of Log4j 2. The JSON format is final or near final in trunk and the same as in rc1. Gary On Mon, May 19, 2014 at 8:25 AM, Mikael Ståldal < mikael.stal...@appearnetworks.com> wrote: > I have managed to get logstash to work with Log4

Re: Logstash & Log4J2

2014-05-19 Thread Gary Gregory
Hi, I do not see (me, others may chime in) supporting log4j 1.2 serialized events out of the box soon. I think the best solution would be to use a Logstash appender or wait until the Logstash server supports Logj4j 2.0. Gary On Mon, May 19, 2014 at 7:37 AM, Karl Kildén wrote: > Hi, > > Logsta

Re: Logstash & Log4J2

2014-05-19 Thread Gary Gregory
FYI, the link is http://blog.yeradis.com/2013/10/logstash-and-apache-log4j-or-how-to.html Gary On Mon, May 19, 2014 at 7:37 AM, Karl Kildén wrote: > Hi, > > Logstash is highly extensible and they include a plugin called "log4j". It > works out of the box with log4j, see this guide for some scr

Re: Logstash & Log4J2

2014-05-19 Thread Mikael Ståldal
I have managed to get logstash to work with Log4j 2 by using the "tcp" input for logstash and json. Log4j 2: Logstash: input { tcp { port => 4560 codec => "json" } } On Mon, May 19, 2014 at 1:37 PM, Karl Kildén wrote: > Hi, > > Logstash

Re: Logstash & Log4J2

2014-05-19 Thread Karl Kildén
Hi, Logstash is highly extensible and they include a plugin called "log4j". It works out of the box with log4j, see this guide for some screenshots and such http://blog.yeradis.com/2013/10/logstash-and-apache-log4j-or-how-to.htmlThat plugin does use the socket appender. I have used this for some

Re: Logstash & Log4J2

2014-05-19 Thread Gary Gregory
So logstash expects serialized Java Log4j 1.2 event objects over a socket? That's not going to work with 2.0 out of the box since our implement is different. Can you provide more information to make sure we all understand each other please?  Gary Original message From: Karl Ki

Re: MemoryMappedFileAppender

2014-05-19 Thread Remko Popma
Ajay, Can we continue this discussion on the log4j-user mailing list? Log4j2 currently does not have a MemoryMappedAppender. As I said, this is on the todo list, but has low priority. If you just want buffered logging, please check out log4j2's RandomAccessFileAppender. Sent from my iPhone

Re: MemoryMappedFileAppender

2014-05-19 Thread Remko Popma
(Resending as I was using the wrong From: address and the list software rejected my message.) > Hi, > > That appender is on my todo list but I haven't had a chance to review it or > work on it. If you want to experiment with it and add your feedback to the > Jira ticket that would be great. >