Welcome to Chucktips Hardware HELP WITH DEAD OS Installing FreeBSD Miscellaneous
 add article

syslog not logging local
Miscellaneous Posted by Vera on Monday May 21, @03:37PM
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" # 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 > SYSLOG, 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?

COOL: FreeBSD for the masses! | HOWTO: Create RAID1 on FreeBSD with gmirror  >


Related Links
  • Articles on Miscellaneous
  • Also by Vera
  • Contact author

    Lilliput Mini USB Computer Monitor

    If you have ever wanted to learn about Cisco Routers, check out my new book "Cisco Routers for the Small Business" - it's Cisco CLI for the Regular Guy!

  • Sponsors

    The Fine Print: The following comments are owned by whoever posted them.
    ( Add a Reply )

    Re: syslog not logging local
    by Ray Chakrit on Saturday September 03, @03:26AM
    I have the same problem, so I switched to rsyslog, it works reliably.
    [ Add a Reply to this ]
    The Fine Print: The following comments are owned by whoever posted them.
    ( Article Reply )

    "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 ]