Subject: logging syslog to a remote syslogd
To: None <netbsd-help@netbsd.org>
From: dan radom <dradom@redback.com>
List: netbsd-help
Date: 11/05/2001 14:26:40
I'm having one hell of a time getting this netbsd machine to log to a remote syslogd.  Here's the config and syslog debug.  Thanks in advance for the help.

Dan

SYSLOG CONFIG
#       $NetBSD: syslog.conf,v 1.6 1997/02/21 09:04:26 mikel Exp $

*.err;kern.*;auth.notice;authpriv.none;mail.crit        /dev/console
*.info;auth,authpriv,cron,ftp,kern,lpr,mail.none        /var/log/messages
*.info;auth,authpriv,cron,kern                          @lunar
kern.debug                                              /var/log/messages

# The authpriv log file should be restricted access; these
# messages shouldn't go to terminals or publically-readable
# files.
auth,authpriv.info                                      /var/log/authlog

cron.info                                               /var/cron/log
ftp.info                                                /var/log/xferlog
lpr.info                                                /var/log/lpd-errs
mail.info                                               /var/log/maillog
#uucp.info                                              /var/spool/uucp/ERRORS

*.emerg                                                 *
*.notice;auth.debug                                     root



SYSLOG DEBUGS
adding /var/run/log to the 0x0 logpath list
making unix dgram socket /var/run/log
listening on unix dgram socket /var/run/log
init
cfline(*.err;kern.*;auth.notice;authpriv.none;mail.crit /dev/console)
cfline(*.info;auth,authpriv,cron,ftp,kern,lpr,mail.none /var/log/messages)
cfline(*.info;auth,authpriv,cron,kern                           @lunar)
syslogd: unknown priority name ""
logmsg: pri 053, flags 0x4, from pluto, msg syslogd: unknown priority name ""
Logging to CONSOLE /dev/console
cfline(kern.debug                                               /var/log/messages)
cfline(auth,authpriv.info                                       /var/log/authlog)
cfline(cron.info                                                /var/cron/log)
cfline(ftp.info                                         /var/log/xferlog)
cfline(lpr.info                                         /var/log/lpd-errs)
cfline(mail.info                                                /var/log/maillog)
cfline(*.emerg                                                  *)
cfline(*.notice;auth.debug                                      root)
8 3 2 3 5 3 3 3 3 3 X 3 3 3 3 3 3 3 3 3 3 3 3 3 X CONSOLE: /dev/console
X 6 X 6 X 6 X 6 6 X X X 6 6 6 6 6 6 6 6 6 6 6 6 X FILE: /var/log/messages
6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 X UNUSED: 
7 X X X X X X X X X X X X X X X X X X X X X X X X FILE: /var/log/messages
X X X X 6 X X X X X 6 X X X X X X X X X X X X X X FILE: /var/log/authlog
X X X X X X X X X 6 X X X X X X X X X X X X X X X FILE: /var/cron/log
X X X X X X X X X X X 6 X X X X X X X X X X X X X FILE: /var/log/xferlog
X X X X X X 6 X X X X X X X X X X X X X X X X X X FILE: /var/log/lpd-errs
X X 6 X X X X X X X X X X X X X X X X X X X X X X FILE: /var/log/maillog
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 X WALL: 
5 5 5 5 7 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 X USERS: root, 
logmsg: pri 056, flags 0x4, from pluto, msg syslogd: restart
Logging to FILE /var/log/messages
Logging to UNUSED
syslogd: restarted
listening on kernel log /dev/klog
off & running....