Re: Colorizing tail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 22Dec2006 16:54, ashley m. kirchner <ashley@xxxxxxxxxx> wrote:
|    I keep a running tail of several weblogs on my console:
| 
|    tail -f /var/log/httpd/access_log.site1 -f 
| /var/log/httpd/access_log.site2 -f /var/log/httpd ...etc., etc.
| 
|    Which then displays on the console as:
| 
|    ==> /var/log/httpd/access_log.site1 <==
|    ...
|    ...
|    ...
| 
|    ==> /var/log/httpd/access_log.site2 <==
|    ...
|    ...
|    ...
| 
|    etc., etc.
| 
|    I'm wondering if there's a way to colorize that per log (as opposed 
| to per matched string.)  Right now when I look at the console, I have to 
| sometimes scroll up to find the ==> <== line to figure out which log I'm 
| looking at, whereas if it's colored it's easy (easier?) to tell.

Have you looked at multitail?
  http://www.vanheusden.com/multitail/
I use it to watch multiple logs - it have plenty of colourisation options
too.
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

But I have to say, I "non-concur." (Non-concur was a term I learned at
IBM. IBM seemed to be a breeding ground for making up words and
phrases, turning verbs into nouns, etc. "Non-concur" seems to be for
those times when saying "I disagree" just isn't strong enough!)
        - Robert D. Seidman <robert@xxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux