Great Circle Associates Firewalls
(September 1997)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Help for syslog
From: Greg Barnes <greg @ ou812 . webnology . com>
Organization: Webnology LLC
Date: Sun, 07 Sep 1997 04:34:41 -0500
To: kb @ pp-ulm . de
Cc: firewalls @ GreatCircle . COM
References: <c=DE%a=_%p=PP-Ulm-GmbH%l=NT_DOMAIN_PC-970905163140Z-1392 @ nt_domain_pc . pp-ulm . de>

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:
Indexed By Date Previous: Re: Routing, FW-1, and NAT
From: "Glenn Cook" <glenn @ wizard . net>
Next: Re: log processing tools
From: Greg Barnes <greg @ ou812 . webnology . com>
Indexed By Thread Previous: Help for syslog
From: kb @ pp-ulm . de
Next: Re: Help for syslog
From: Bernd Eckenfels <lists @ lina . inka . de>

Google
 
Search Internet Search www.greatcircle.com