Open System Services Programmer's Guide

The logger process receives input through $RECEIVE and sends the data to the log file logfile.
Example 50 shows the source code for the logger program.
218 Managing I/O