You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by laredotornado <la...@gmail.com> on 2010/05/07 18:54:26 UTC
Recommendation for log analyzer?
Hi,
We are using Tomcat 6.0.26. We want to be able to get some kind of report
of the errors that are being spit out to our "localhost" file (and
catalina.out as well, but localhost is the priority). Do you know of any
tool that can produce a report saying, "This error occurred X number of
times yesterday", etc?
Thanks, - Dave
--
View this message in context: http://old.nabble.com/Recommendation-for-log-analyzer--tp28488656p28488656.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Recommendation for log analyzer?
Posted by Pe...@blm.gov.
The apps I work on mostly use Commons Logging + Log4J, which fits with
Chainsaw as a useful tool for monitoring and analysis.
Gregor Schneider <rc...@googlemail.com> wrote on 05/07/2010 02:34:21 PM:
> Provided your logfiles are rolling daily:
>
> echo Number of errors i file: `grep "ERROR" [logfilename here] | wget -l`
>
> as a start.
>
> Seriously:
>
> Analyze your requirements and have somebody write a small script which
> you put into your crontab. Said script can be a simple one or as
> complex as you like it.
>
> Provided you're running on Linux, there's a whole bunch of useful
> utilities (sed, awk) which could do the job.
>
> Rgds
>
> Gregor
> --
> just because you're paranoid, don't mean they're not after you...
> gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
> gpgp-key available
> @ http://pgpkeys.pca.dfn.de:11371
> @ http://pgp.mit.edu:11371/
> skype:rc46fi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Recommendation for log analyzer?
Posted by Gregor Schneider <rc...@googlemail.com>.
Provided your logfiles are rolling daily:
echo Number of errors i file: `grep "ERROR" [logfilename here] | wget -l`
as a start.
Seriously:
Analyze your requirements and have somebody write a small script which
you put into your crontab. Said script can be a simple one or as
complex as you like it.
Provided you're running on Linux, there's a whole bunch of useful
utilities (sed, awk) which could do the job.
Rgds
Gregor
--
just because you're paranoid, don't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/
skype:rc46fi
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org