[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] How to search "error." pattern with LOG
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] How to search "error." pattern with LOG
- From: Henrik "Størner" <henrik (at) hswn.dk>
- Date: Fri, 19 Dec 2008 15:49:01 +0000 (UTC)
- Newsgroups: lists.hobbit
- Organization: Linux Users Inc.
- References: <494BBB23.4000801 (at) cvf.fr>
- User-agent: nn/6.7.3
In <494BBB23.4000801 (at) cvf.fr> Vincent Schultz <vschultz (at) cvf.fr> writes:
>I am trying to monitor a log file in order to be alerted when the string
>"error." appears.
>LOG /tmp/log error. COLOR=yellow
>==> does not work
>Does anyone can help me to find the correct regexp please ?
How about
LOG /var/log/YOURLOGFILENAME error\.
Regards,
Henrik