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

Re: [Bigsister-general] How to see the WARNING and NOTICE messages in the Web?


On Tue, 2006-12-26 at 20:04 +0000, suppressed wrote:
>     we want to see the WARNING and NOTICE messages that there're within
> /var/log/messages. When Big Sister detects these messages, only we can
> see the message "warning". We would like to see the whole message. How
> to make it?.

Have a look at the etc/syslog file: therein you'll find a pattern like

  warning                         yellow  15      warning

If you change this to i.e.

  warning(.*)			  yellow	15	warning $1

Then you'll get the text that is printed after the keyword "warning" in
syslog reprinted in Big Sister.

Best regards,
Tom
-- 
----------------------------------------------------------------------------
Thomas Aeby, Kirchweg 52, 1735 Giffers, Switzerland, Tel: (+41)264180040
Internet: suppressed                       PGP public key available
----------------------------------------------------------------------------


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bigsister-general mailing list
suppressed
https://lists.sourceforge.net/lists/listinfo/bigsister-general


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.