In article <1aCdnSK4C7Jv2bjdRVn-(E-Mail Removed)>,
Mike <(E-Mail Removed)> wrote:
> I am trying to setup my routers (and other devices) to log to my Mandrake
> 9.2.1 box.
You need to have syslogd invoked with the "-d" flag.
> I am having a hard time finding instructions on how to configure
> Linux.
On my system (RH 8), I change /etc/sysconfig/syslog , then run
"/etc/rc.d/rc.sysinit restart", all as root.
Also, syslog does not work from my router (USR 8054), USR tech support have
admitted it's broken as designed.
> I assume that I have to edit the /etc/syslog.conf file??
Only if you want to change what goes where.
> What would the syntax be?
"man syslog.conf" for the straight dope, but a quickie is
facility.priority /file/name
you can use multiple fac.pri pairs, separated by a semicolon
# denotes a comment
you can use * to mean "all messages" in place of fac or pri
you can use * to mean "all users' consoles" in place of /file/name
spaces separate fac.pri and /file/name
"none" means no messages of this fac or pri
--
-eben
(E-Mail Removed)m home.tampabay.rr.com/hactar
Unix is user-friendly; it's just picky
about who it makes friends with.