RE: [logs] syslogd

From: Andy Bach (rootat_private)
Date: Tue Nov 27 2001 - 09:26:04 PST


On Mon, 26 Nov 2001, Chris Edillon wrote:

>   and finally, make sure that all the whitespace in the
> line you add to syslog.conf is tabs only.  on some platforms
> syslog.conf is parsed with m4, which only wants to see tabs
> for whitespace.

A very good point: you can check this by ... hmm, I thought by running 
syslog in debug mode.  If you have a space after the "selector" 
(facility.level) spec. it'll be included in name which means it won't be 
matched by any syslog call.  I know I've seen an output showing the 
selectors (I found my 'extra space' error that way) but I can't find it. 
Guess just use vi ;->

or:
perl -ne  \
's/ +/<space>/g; s/\t+/<tab>/g; print if ! /^\s*#/ and /\S/'  \
/etc/syslog.conf

a

Andy Bach, Sys. Mangler     	    
Internet: andyat_private    VOICE: (608) 264-5178 ex 5738, FAX 264-510

   "Murphy's Law, that brash proletarian restatement of Godel's Theorem ..."
                -- Thomas Pynchon, "Gravity's Rainbow"



---------------------------------------------------------------------
To unsubscribe, e-mail: loganalysis-unsubscribeat_private
For additional commands, e-mail: loganalysis-helpat_private



This archive was generated by hypermail 2b30 : Tue Nov 27 2001 - 15:30:27 PST