Return to BSD News archive
Xref: sserve comp.sys.sun.admin:36290 comp.unix.bsd:14872 Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!cs.utexas.edu!uunet!news.dal.mobil.com!japeters From: japeters@dal.mobil.com (J.A. Peters [Jim]) Newsgroups: comp.sys.sun.admin,comp.unix.bsd Subject: Re: want syslog to pipe entry to command Date: 9 Sep 1994 18:36:59 GMT Organization: MEPTEC - Mobil Oil Corporation Lines: 14 Distribution: world Message-ID: <34qa0b$88q@dlsn31> References: <34nie0$c69@spruce.cic.net> NNTP-Posting-Host: dlsunf.dal.mobil.com In article <34nie0$c69@spruce.cic.net>, pauls@locust.cic.net (Paul Southworth) writes: > I want to have a script that will act on certain syslog messages as they > arrive (using the syslog entry as either stdin or an argument). > What I wish for is a functional syslog.conf entry like this: > > foo.debug /var/log/syslog, |/usr/local/bin/snork > > Any ways to do this without replacing syslog with something fancier? send it to a "user"/mail alias which is filter ie sending it to user "lpr" where lpr is mail alias "lpr: |/usr/ucb/lpr". cheers, james, japeters@dal.mobil.com