from the dept.
I'm having some trouble with my FBSD-6.2 syslog daemon- syslogd is doesn't seem to want to log anything uing local, as in local3.
I have a router which I have configured to use syslog local3 and send it's logs to my freebsd workstation. As near as I can tell it's all working fine except for syslogd on my FreeBSD workstation.
I have this in my /etc/rc.conf file:
syslogd_flags="-a 192.168.1.1" # router1
I have this in my /etc/syslog.conf file:
local3.* [tab over] /var/log/local3.log
I have created the /var/log/local3.log file.
I used 'chmod 600 /var/log/local3.log' to set permissions.
TCP dump on my FreeBSD workstio shows:
# tcpdump|grep local3
listening on xl0...
14:25:58.557133 IP router1.mydomain.com.syslog > bsd62.mydomain.com.syslog: SYSLOG local3.info, length: 180
Here's the kicker. If enable *.* /var/log/all.log in my /etc/syslog.conf file, then all of my router's logs are logged there. I find this strange since, as you can see from my tcpdump, the router is using syslog local3!
|"You never know how many friends you have until you own a Condo on the beach." -- Jason's Postulate|
|All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©2001 Jason Neumann.|