logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fernando Wermus <fwer...@odeasrl.com.ar>
Subject Re: a log4j analyzer
Date Tue, 16 Aug 2011 15:19:41 GMT
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 <josef.stadelmann@axa-winterthur.ch>

> 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 before
> it eats up cpu cycles.
>
> if ( log.isDebugEnabled() )
> {
>        // Uses many cpu cycles:
>        String fancyLogString = buildFancyLogString();
>        // Does nothing because "debug" is currently disabled in
> log4j.properties:
>        log.debug( fancyLogString );
>  }
>
>
>
>
> -----Urspr√ľngliche 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 == 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√ľngliche 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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message