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:
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:
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.