The syslog facility could be implemented as follows: The program which starts a translator opens /dev/klog on the translator's behalf and inserts the file descriptor into the translator's stdout and stderr. This requires modifying settrans, libdiskfs, etc. but not every translator individually.
Because syslog requires a few other parameters, syslog may also have to be modified. In this case, it could be Hurdified a bit. It could provide an RPC syslog_open (const char *ident, int priority) the arguments of which correspond to openlog's and syslog's parameters. Messages would be read using the normal I/O interfaces and the appropriate actions taken. This allows automatically redirecting the standard output of a translator to syslog with priority LOG_INFO and standard error with priority LOG_ERR. Neal _______________________________________________ Bug-hurd mailing list Bug-hurd@gnu.org http://lists.gnu.org/mailman/listinfo/bug-hurd