Index  Up  <<  >>  


SysLog

Allows you to set up syslog(8) error logging for MiniVend.

    SysLog  command  /usr/bin/logger
    SysLog  tag      mv1
    SysLog  alert    local3.warn
    SysLog  warn     local3.info
    SysLog  info     local3.info

This would cause global errors to be logged with the command:

    /usr/bin/logger -t mv1 -p local3.alert

and cause system log entries something like:

    Oct 26 17:30:11 bill mv1: Config 'co' at server startup 
    Oct 26 17:30:11 bill mv1: Config 'homefn' at server startup 
    Oct 26 17:30:11 bill mv1: Config 'simple' at server startup 
    Oct 26 17:30:11 bill mv1: Config 'test' at server startup 
    Oct 26 17:30:13 bill mv1: START server (2345) (INET and UNIX) 

Of course you can wrap your own wrapper around it to get it to behave how you want.


Index  Up  <<  >>