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 03801825E for ; Tue, 16 Aug 2011 15:20:12 +0000 (UTC) Received: (qmail 83330 invoked by uid 500); 16 Aug 2011 15:20:11 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 83261 invoked by uid 500); 16 Aug 2011 15:20:10 -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 83252 invoked by uid 99); 16 Aug 2011 15:20:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2011 15:20:10 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.213.47] (HELO mail-yw0-f47.google.com) (209.85.213.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2011 15:20:03 +0000 Received: by ywe9 with SMTP id 9so4608ywe.34 for ; Tue, 16 Aug 2011 08:19:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.42.132.67 with SMTP id c3mr5605452ict.106.1313507981398; Tue, 16 Aug 2011 08:19:41 -0700 (PDT) Received: by 10.42.225.130 with HTTP; Tue, 16 Aug 2011 08:19:41 -0700 (PDT) X-Originating-IP: [200.123.189.217] In-Reply-To: References: Date: Tue, 16 Aug 2011 12:19:41 -0300 Message-ID: Subject: Re: a log4j analyzer From: Fernando Wermus To: Log4J Users List Content-Type: multipart/alternative; boundary=90e6ba3fcc31a412f604aaa0e897 --90e6ba3fcc31a412f604aaa0e897 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Josef Stadelmann, First of all thanks for replying. What we need is the best tool for analyzing logs file. We haven't found a good tool yet. thanks in advance 2011/8/15 Stadelmann Josef > This approach will also help to speed logging up. Given you intend to log= a > debug event, then test it as shown and only go through the lengthy cycles= if > debug logging is in fact enabled That approach checks a boolean first bef= ore > it eats up cpu cycles. > > if ( log.isDebugEnabled() ) > { > // Uses many cpu cycles: > String fancyLogString =3D buildFancyLogString(); > // Does nothing because "debug" is currently disabled in > log4j.properties: > log.debug( fancyLogString ); > } > > > > > -----Urspr=FCngliche Nachricht----- > Von: Stadelmann Josef [mailto:josef.stadelmann@axa-winterthur.ch] > Gesendet: Donnerstag, 11. August 2011 09:57 > An: Log4J Users List > Betreff: AW: a log4j analyzer > > How do you measure? > What is he difference between > > Raising the log level to fatal =3D=3D no logging if that application runs > Raising the log level to info > Raising the log level to debug or trace or all > > What is the time difference you see under your setup which we don't know. > > Josef > Alias Sepp > > -----Urspr=FCngliche Nachricht----- > Von: Fernando Wermus [mailto:fwermus@odeasrl.com.ar] > Gesendet: Mittwoch, 10. August 2011 20:25 > An: log4j-user@logging.apache.org > Betreff: a log4j analyzer > > Hi all, > We are facing some performance problems and we would like to use a tool > to analyze our logs to make a point. Which is your experience about it? > > thanks in advance > > --------------------------------------------------------------------- > 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 > > --90e6ba3fcc31a412f604aaa0e897--