RON HORNER wrote:
>
> How can I have my programs write messages to the syslog daemon?
By calling the openlog(), syslog(), closelog() C routines in
/SYSLOG/PUB/libsyslog.a.
Or since SYSLOGD is just listening for UDP packets on port 514, you could code
the network calls yourself needed to send the single packet.
I assume there's an RFC somewhere that describes the packet format, or you can
download my freeware source from http://www.bixby.org/mark/syslogix.html and
determine the format from that.
- Mark B.