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 8AB5D10F49 for ; Tue, 11 Mar 2014 12:59:21 +0000 (UTC) Received: (qmail 16753 invoked by uid 500); 11 Mar 2014 12:59:21 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 16120 invoked by uid 500); 11 Mar 2014 12:59:18 -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 16080 invoked by uid 99); 11 Mar 2014 12:59:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2014 12:59:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [195.226.6.75] (HELO mail.wyona.com) (195.226.6.75) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2014 12:59:10 +0000 Received: from Michael-Wechners-MacBook-Pro-3.local (unknown [195.226.6.66]) by mail.wyona.com (Postfix) with ESMTPA id 7BF8A2DA06D for ; Tue, 11 Mar 2014 13:59:16 +0100 (CET) Message-ID: <531F0885.9000805@wyona.com> Date: Tue, 11 Mar 2014 13:58:45 +0100 From: Michael Wechner User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: log4j-user@logging.apache.org Subject: Re: Share your experiences with log4j. References: <531D75F8.7000203@wyona.com> <531DB3D5.8090009@wyona.com> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org thanks very much for your feedback. Will have a closer look at it and send some feedback once I have made some more progress on it. Thanks Michael Am 11.03.14 13:47, schrieb Matt Sicker: > On Monday, 10 March 2014, Michael Wechner wrote: > >> Am 10.03.14 13:34, schrieb Matt Sicker: >>> You should try the async plugin. It's really good at getting out of the >> way >>> performance wise. >> is that part of log4j2 (or 1 or both)? >> >> I guess you mean >> >> http://logging.apache.org/log4j/2.x/manual/async.html >> >> right? > Correct! > > >>> Also, what sort of custom plugin are you using? >> I am not sure I understand your question, can you explain some more? >> >> (Our custom appender to send messages via HTTP is still based on log4j >> version 1) > Does log4j 2 have an appender that fulfills that role? I recommend checking > out the Flume appender or JMS appender for networked logging due to general > reliability issues (both are designed for that sort of situation). > >> Thanks >> >> Michael >>> On Monday, 10 March 2014, Michael Wechner > >> wrote: >>>> Hi >>>> >>>> I am using log4j within the Yanel CMS (http://www.yanel.org) for >> regular >>>> debugging, but >>>> also for logging of 404 and access. >>>> >>>> I have recently upgraded part of the code to log4j2 in order to use fish >>>> tagging, which works very fine. >>>> >>>> Also I am using log4j to send messages via HTTP (and ActiveMQ messages) >>>> to another server asynchronously, >>>> but in this particular case I am struggling with some odd threading >>>> problem, which is slowing down the CMS >>>> and makes it stop completely at some point. Unfortunately I have not >>>> found the reason yet for this and hence >>>> it is currently disabled, whereas I don't think it has anything to do >>>> with log4j itself, but rather with the code of >>>> our custom logger. As soon as I will have some time I will compare our >>>> code with for example >>>> >>>> https://github.com/alexlod/scribe-log4j-appender >>>> >>>> HTH >>>> >>>> Michael >>>> >>>> Am 10.03.14 01:43, schrieb Matt Sicker: >>>>> I'd like to hear how you use log4j in your personal projects and work >>>>> projects. Like, which plugins do you use? How do you integrate them >> with >>>> a >>>>> larger system? Are you using it in a distributed computing environment? >>>>> Cloud hosting? Physical servers under your control? Inside a bunch of >>>> VMs? >>>>> Where do you store your logging data? How do you pass that data around? >>>>> JMS? Flume? Database connections? Are you using custom plugins? >>>>> >>>>> This information will help me flesh out some more content for my >> upcoming >>>>> ApacheCon presentation on Log4j 2. I'd like to hear various use cases, >>>>> especially ones using the new, neat features in 2.0. >>>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org >> >>>> For additional commands, e-mail: log4j-user-help@logging.apache.org >> >>>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org >> For additional commands, e-mail: log4j-user-help@logging.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org