From - Wed May 12 19:44:19 1999
Received: from majordom by schizo.psychosis.com with local (Exim 2.05 #1)
	id 10hdDi-00010H-00 (Message Psychofied Boff! Ba-Ba-Booey! Ba-Ba-Booey!) ; Wed, 12 May 1999 13:55:02 -0400
Received: from (odin.ailanthus.net) [209.222.96.19] 
	by schizo.psychosis.com with esmtp (Exim 2.05 #1)
	id 10hdDe-0000zw-00 (Message Psychofied Boff! Ba-Ba-Booey! Ba-Ba-Booey!) ; Wed, 12 May 1999 13:54:59 -0400
Received: from localhost (jlt@localhost)
	by odin.ailanthus.net (8.8.7/8.8.7) with ESMTP id NAA07191;
	Wed, 12 May 1999 13:52:47 -0400
X-Authentication-Warning: odin.ailanthus.net: jlt owned process doing -bs
Date: Wed, 12 May 1999 13:52:47 -0400 (EDT)
From: Jim Troutman <jlt@pivot.net>
X-Sender: jlt@odin.ailanthus.net
To: Dave Cinege <dcinege@psychosis.com>
cc: Rick <rick@mail.artmold.com>,
        Linux Router Project <linux-router@linuxrouter.org>
Subject: Re: [LRP] New 2.9.4pre release
In-Reply-To: <37397D46.6753D48A@psychosis.com>
Message-ID: <Pine.LNX.4.04.9905121343360.6920-100000@odin.ailanthus.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Precedence: bulk
Sender: majordom <majordom@psychosis.com>
X-Mozilla-Status: 8015
X-Mozilla-Status2: 00000000
X-UIDL: a3f54e41b6560238bb6ebdc6f4dc8f36

On Wed, 12 May 1999, Dave Cinege wrote:

> > Speaking of syslogd, how would you [people on the list] feel about
> > changing the default syslogd config file to log to remote host? 
> 
> No, but I'd like an example how to do it commented out in the config file.

syslogd.conf:

# log everything to another machine
*.*                                             @x.x.x.x


On the target host, if you are runnig syslogd 1.3 or higher (I think all 
modern distributions are) ou have to make sure that the other machine has
syslogd running with the -r option to enable remote reception.

I also like to enable facility based logging on my hosts, like so:

(the - in front the file name will buffer log writes to reduce CPU and I/O
load)
#
#
# facilities:
#       auth
#       authpriv
#       cron
#       daemon
#       kern
#       lpr
#       mail
#       *mark
#       news
#       syslog
#       user
#       uucp
#       local0
#       local1
#       local2
#       local3
#       local4
#       local5
#       local6
#       local7
#
# levels
#
#       none
#       emerg
#       alert
#       crit
#       err
#       warning
#       notice
#       info
#       debug
local0.*                -/var/log/facility/local0
local1.*                -/var/log/facility/local1
local2.*                -/var/log/facility/local2
local3.*                -/var/log/facility/local3
local4.*                -/var/log/facility/local4
local5.*                -/var/log/facility/local5
local6.*                -/var/log/facility/local6
local7.*                -/var/log/facility/local7
user.*                  -/var/log/facility/user
syslog.*                -/var/log/facility/syslog
news.*                  -/var/log/facility/news
mail.*                  -/var/log/facility/mail
kern.*                  -/var/log/facility/kern
daemon.*                -/var/log/facility/daemon
lpr.*                   -/var/log/facility/lpr
cron.*                  -/var/log/facility/cron
authpriv.*              -/var/log/facility/authpriv
auth.*                  -/var/log/facility/auth


-----
James Troutman, Troutman & Associates - telecommunications consulting
93 Main Street, Waterville, Maine 04901 - 207-861-7067



---
Linux Router Project -- http://www.linuxrouter.org/
linux-router-request@linuxrouter.org   Body: un/subscribe
Mailing list maintainer: dcinege@psychosis.com

