Return-Path: X-Original-To: apmail-logging-log4j-user-archive@www.apache.org Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0AC7B11C2E for ; Mon, 19 May 2014 12:27:36 +0000 (UTC) Received: (qmail 18793 invoked by uid 500); 19 May 2014 12:27:35 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 18744 invoked by uid 500); 19 May 2014 12:27:35 -0000 Mailing-List: contact log4j-user-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@logging.apache.org Received: (qmail 18735 invoked by uid 99); 19 May 2014 12:27:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 May 2014 12:27:35 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of garydgregory@gmail.com designates 209.85.219.41 as permitted sender) Received: from [209.85.219.41] (HELO mail-oa0-f41.google.com) (209.85.219.41) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 May 2014 12:27:32 +0000 Received: by mail-oa0-f41.google.com with SMTP id m1so6187991oag.28 for ; Mon, 19 May 2014 05:27:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=iF83+UA9KOkMWmr0OHay7vuF3STXg0UUCN9gWluWivo=; b=h3Oy4b914ykN8j3cTRz+wjUj9t1ph6fg4rgcQ3xhYqxQLzGqThRhzTXOtejiIJCzDZ NQboXhCgs//JGJzVc10jwAz/TavG1R8T3EYhlUNGBAw9cnItLQLsX01ULbooRpr8oUF6 Haeg08an+pc16nBQ0ePzpK1RCZzJZgUoMguFhN2cPf2rVTEvfAw9wJD0CB+JcG1cKjt4 TY+/9iTy4Tv1TQqSNOrh/K1TMf8dUseGO6sDFqKYl3TgMVrWSP/q6/FPrdSPi4nDtumc 1c1XKKki01+2snwM5q9suZ5gKhzSRLGU3nEPnWlpOLHNzY330+ZwfkswbaVg5Yt/Exr7 ul2g== MIME-Version: 1.0 X-Received: by 10.182.76.38 with SMTP id h6mr13261940obw.8.1400502428937; Mon, 19 May 2014 05:27:08 -0700 (PDT) Received: by 10.60.48.40 with HTTP; Mon, 19 May 2014 05:27:08 -0700 (PDT) In-Reply-To: References: <7ueemsm7sp93bvccxen04suq.1400498542449@email.android.com> Date: Mon, 19 May 2014 08:27:08 -0400 Message-ID: Subject: Re: Logstash & Log4J2 From: Gary Gregory To: Log4J Users List Content-Type: multipart/alternative; boundary=047d7b4503cac8b8b404f9bfe177 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b4503cac8b8b404f9bfe177 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=C3=A9n w= rote: > Hi, > > Logstash is highly extensible and they include a plugin called "log4j". I= t > 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.htmlT= hat > plugin does use the socket appender. > > I have used this for some time and I have been a happy end user not reall= y > getting into technical details at all. But for new projects I want to use > log4j2 and thus my question... Some efforts to get support in for log4j2 > seems to exist already so I guess I will turn my attention to that. > > However it felt best to consult the experts of log4j first ;) However I > guess I will look closer at ie. > https://github.com/jurmous/logstash-log4j2and other projects for now > and see if I can get one running ;) > > > On 19 May 2014 13:27, Gary Gregory wrote: > > > 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 Kild=C3=A9= n < > > karl.kilden@gmail.com>
Date:05/19/2014 02:52 (GMT-05:00) > >
To: Log4J Users List > >
Subject: Re: Logstash & Log4J2
> >
Hi Gary, > > > > Perhaps but if it is not possible it is also the wrong route... It woul= d > be > > better to get proper log4j2 support done for logstash. I see some > > engagement in the area when I google for it, I will try to poke around > and > > see if I can help with anything > > > > cheers > > > > > > On 18 May 2014 16:12, Gary Gregory wrote: > > > > > Hello, > > > > > > If you want the functionality of version 1 in version 2, can you > create a > > > patch for a new layout and attach it with tests to a new jira? > > > > > > Gary > > > > > >
-------- Original message --------
From: Karl Kild=C3= =A9n < > > > karl.kilden@gmail.com>
Date:05/16/2014 16:32 (GMT-05:00) > > >
To: Log4J Users List > > >
Subject: Logstash & Log4J2
> > >
Hello! > > > > > > Using the socket appender with log4j1 and logstash simply worked. I > can't > > > get it to work with log4j2. > > > > > > Any advice on this? Can I make socket appender behave like 1.x? > > > > > > cheers > > > > > > --=20 E-Mail: garydgregory@gmail.com | ggregory@apache.org Java Persistence with Hibernate, Second Edition JUnit in Action, Second Edition Spring Batch in Action Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory --047d7b4503cac8b8b404f9bfe177--