It is possible to use slurpd to process a rejection log with its ``one-shot mode''. In normal operation, slurpd watches for more replication records to be appended to the replication log file. In one-shot mode, by contrast, slurpd processes a single log file and exits. slurpd ignores ERROR lines at the beginning of replication log entries, so it's not necessary to edit them out before feeding it the rejection log.
To use one-shot mode, specify the name of the rejection log on the command
line as the argument to the -r command line option, and specify
one-shot mode with the -o option. For example, to process the
rejection log file /usr/tmp/replog.cayman.rs.itd.antbear.com:389
and exit, use the following command:
slurpd -r /usr/tmp/cayman.rs.itd.antbear.com:389 -o