He's a question I've always was curious about:

If you have your linux box/unix box set up for logging, but you want to log
more than 7 devices with their own log file, how do you do it if you only
have 6-7 facilities (local0-local7) to work with in the syslog.conf file?!?!


all tips and tricks appreciated.

-Mark

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Marko Milivojevic
Sent: Thursday, April 11, 2002 6:46 AM
To: [EMAIL PROTECTED]
Subject: RE: syslog [7:41165]


[to maintainers of the list: it seems that something gets confused in
software if something thaty looks like html is used]


        You do following on the router:

logging NameOrIpOfLinuxBox
logging trap debug             ! choose different level as you desire
logging facility local1        ! choose different facility as you desire

        On Linux box:

1. make sure that you have syslog running with "-r" (and "-h", if desired -
see man syslogd) switch
2. edit /etc/syslog.conf and add:

local1.*[tab]/var/log/router.log


        Note: [tab] is actual tab character, not n number of spaces.


Marko.

> -----Original Message-----
> From: Marko Milivojevic [mailto:[EMAIL PROTECTED]]
> Sent: fimmtudagur, 11. aprml 2002. 12:59
> To: [EMAIL PROTECTED]
> Subject: RE: syslog [7:41165]
>
>
> You do following on the router:
>
> logging NameOrIpOfLinuxBox
> logging trap debug            /var/log/router.log
>
>
>       Note:  is actual tab character, not n number of spaces.
>
>
> Marko.
>
> > -----Original Message-----
> > From: kaushalender [mailto:[EMAIL PROTECTED]]
> > Sent: fimmtudagur, 11. aprml 2002. 11:30
> > To: [EMAIL PROTECTED]
> > Subject: syslog [7:41165]
> >
> >
> > Hi group
> >
> > I have 2610 router and a linux machine.Can somebody help me how to
> > configure router that all possible messages which r coming
> on console
> > shouls be diverted on that linux machine .
> >
> > Thanx in advance
> > Kaushalender




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=41239&t=41165
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to