kb @
pp-ulm .
de wrote:
[snip]
> *.debug /var/adm/messages.debug.
>
> Is it possible to have the messages from the router into a different
> file and how ?
Yes. Add the following line to your syslog.conf;
local7.debug /var/adm/routername.debug
Then from the console as root type;
touch /var/adm/router.debug
Then restart syslogd. You don't have to use local7, you can use local1,
local2, local3 etc...up to local7 as well. If you prefer you can use
different facilities to log for different routers or use the same
facility for all the routers. Be sure to configure the time/hostname
stamp on the routers, so they're easily identifiable (I would log to one
file and then use a simple 'grep' to separate the entries if the log
gets too crowded). ;-)
Wow. I guess syslog is the topic of the month. =-)
--
Regards,
Greg Barnes
Webnology LLC
______________________________________________
|\==============W=E=B=N=O=L=O=G=Y==============\
greg @
ou812 .
webnology .
com Phone (830)768-2292
noc @
ou812 .
webnology .
com FAX (830)774-1518
http://www.webnology.com
|/==============W=E=B=N=O=L=O=G=Y==============/
'If you're a horse and someone gets on you and falls off, then gets
right back on you...I think you should buck him off right away'
-- Deep Thoughts, By Jack Handey
*NOTE* To return mail to me, remove the 'ou812.' from the
domain in my signature.
References:
|
|