[lug] Highlight logs
Kyle Moore
kmoore at mooreimages.com
Thu Feb 10 13:16:51 MST 2005
Thanks for the direction. It looks like multitail will do what I want.
Here is an excerpt from their web page:
"It can also use colors while displaying the logfiles (through regular
expressions), for faster recognition of what is important and what not."
Michael Hirsch wrote:
> On Thu, 10 Feb 2005 11:11:56 -0700, Kyle Moore <kmoore at mooreimages.com> wrote:
>
>>Does anyone know a way to highlight a certain string of text in your
>>terminal when you are tailing a log? For instance, I'm tailing my
>>maillog and want any "refused" entries to be red as they go by on the
>>screen. Or it could just as easily be I'm starting up JBoss with debug
>>logging and want to color certain strings of text to make them
>>noticeable in the large volume of data streaming past.
>
>
> I don't know of a utility for doing exactly that. There is multitail
> which has some built-in grep abilities, but I think that acts more as
> a filter.
>
> Wouldn't be too hard to write a little scriptlet in perl or python to
> do it, though.
>
> Michael
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
--
Kyle Moore
More information about the LUG
mailing list