faq
search
add article
cool-stuff
how-to
main
tips
|
Posted by Vera on Monday May 21, @02:37PM
from the dept.
Hello,
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!
Any idaes?
Important Stuff:
Note: Fields with bold titles are required.
Please try to keep posts on topic.
Try to reply to other people comments instead of starting new threads,
Read other people's messages before posting your own to
avoid simply duplicating what has already been said.
Use a clear subject that describes what your
message is about.
Please do not post offtopic, inflammatory, inappropriate, illegal,
or offensive comments. Repeat offenders will be sanctioned.
|