Can socklog 1.0 listen on more than one socket?
Jeff Ross <[email protected]>
| Newsgroups | gmane.comp.misc.pape.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, I've been running socklog for a long time now on OpenBSD. Today I was trying to figure out why I wasn't getting logs from the spamd process. As it turned out, spamd runs chrooted in OpenBSD, so when spamd was trying to write to /dev/log, because it was chrooted into /var/empty/ it was really trying to write to /var/empty/dev/log, which didn't exist. My first thought was to start another socklog listeing on /var/empty/dev/log, and log that off to /var/log/spamd/. That worked great. Is it possible to have socklog listen on more than one socket at a time? syslogd (at least according to the OpenBSD man page) can listen to about 20 different sockets making it easy to let a chrooted process log to syslog. Thanks! Jeff Ross