geekvenue.net

Welcome to Chucktips Hardware HELP WITH DEAD OS Installing FreeBSD Miscellaneous
 faq
 search
 add article
 cool-stuff
 how-to
 main
 tips


syslog not logging local
Miscellaneous 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?

Add Reply

Name
Email
Notify Notify me via email of responses to this message
Title
Comment
(Check those URLs! Don't forget the http://!)
Encoding
If none of the above mean anything to you, select 'Plain'!
Attachment
(You can attach a file to your reply which can then be retrieved by other readers.
Try to keep the file sizes below 500Kb in order to conserve network and server resources.)
Allowed HTML <B> <I> <P> <A> <LI> <OL> <UL> <EM> <BR> <TT> <HR> <STRONG> <BLOCKQUOTE> <DIV .*> <DIV> <P .*>
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.
  • "You never know how many friends you have until you own a Condo on the beach." -- Jason's Postulate

    Powered by Zope  Powered by Apache  Squishdot Powered
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©2001 Jason Neumann.
    [ main | post article | search ]