[JB]

As for logging, I'm not familiar with syslog type log entries and
syslog based log filters.  If you could supply an example, I can
emulate it.

[AL]
Don't emulate, use logger(1) - wrap shell functions around it to set
facility/priority
(e.g. mailme.urgent) tag etc.

Can also specify log file using it (or via the wrapper) but better to
actually use default of output via syslogd since you can then use
syslog.conf to specify which types of log messages go where and just
edit this to keep full archives for statistics and pay attention to
particular specified filtered extracts.

Lots of software in sysadmin ports/packages collection and other
archives to use it with. 
Perl modules etc too.

newsyslog(8) - maintain system log files to manageable sizes
syslog.conf(5)           - syslogd 8 configuration file
syslogd(8)               - log systems messages    

Reply via email to