log wiever

Tommy Reynolds Tommy.Reynolds at MegaCoder.com
Thu Feb 12 20:37:38 UTC 2004


Uttered Alexander Dalloz <alexander.dalloz at uni-bielefeld.de>, spake thus:

> Hey! You and Douglas are right. :) 

I don't mind people saying that I'm right, as long as they don't
sound surprized ;-)

> fiddled with that I not only wanted to combine tail -f with grep but to
> let this run unattended and let the output redirect into a separate log
> file. Something like:
> 
> tail -f $LOGFILE | grep "$EXPRESSION" >> $GREPPED.LOGFILE
> 
> This does not work. Or do you know a solution for that? I know there are
> tools available for this task, to react on defined log events.

How do you mean "doesn't work"?  There's nothing broken here; that
command line should be fine.

Hmmm... what shell do you use?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040212/e814ca8f/attachment-0001.sig>


More information about the fedora-list mailing list