DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Distributing files remotely over TCP/IP

Message logging

rdist uses a collection of predefined message ``facilities'' that each contain a list of message ``types'' specifying which types of message to send to that facility. The local client (rdist) and the remote server (rdistd) each maintain their own copy of what types of message to log to what facilities.

The -l logopts option to rdist tells rdist what logging options to use locally. The -L logopts option to rdist tells rdist what logging options to pass to the remote rdistd server.

The syntax of logopts is:

facility=types:facility=types...

Valid facility names are: stdout, file, syslog, and notify. For more about facility names, see the rdist(TC) manual page.

types contains a list of message types separated by commas. Each message type specified enables that message level. This is unlike the syslog(SLIB) system facility, which uses an ascending order scheme. Valid types are change, info, notice, nerror, ferror, warning, debug, and all. For more about types, see the rdist(TC) manual page.

Here is a sample command line option:

-l stdout=all:syslog=change,notice:file=/tmp/rdist.log=all

This entry will set local message logging to have all but debug messages sent to standard output, change and notice messages will be sent to syslog(SLIB), and all messages will be written to the file /tmp/rdist.log.


Previous topic: Notifying users of updates

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003