- a sample socklog-unix/run script:
#!/bin/sh
exec 2>&1
exec chpst -Unobody socklog unix /dev/log
- a sample socklog-unix/log/run script:
#!/bin/sh
exec chpst -ulog svlogd \
main/main main/auth main/cron main/daemon main/debug main/ftp \
main/kern main/local main/mail main/news main/syslog main/user
- sample log config files:
# cat main/config
s999999
n10
# cat auth/config
s999999
n5
-*
+auth.*
+authpriv.*
# cat debug/config
s999999
n5
-*
+*.debug*
- if you want additional
tai64n time-stamps
prepended to each message, use this socklog-unix/log/run script
as example:
#!/bin/sh
exec chpst -ulog svlogd -t \
main/main main/auth main/cron main/daemon main/debug main/ftp \
main/kern main/local main/mail main/news main/syslog main/user