SCIENTIFIC-LINUX-USERS Archives

October 2005

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Steve Traylen <[log in to unmask]>
Reply To:
Steve Traylen <[log in to unmask]>
Date:
Tue, 4 Oct 2005 14:59:48 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
On Tue, Oct 04, 2005 at 08:32:00AM -0500 or thereabouts, Andy Wettstein wrote:
> On Tue, Oct 04, 2005 at 02:21:31PM +0100, Mark Nelson wrote:
> > I would like to configure a machine to log both to the local disk and to
> > a remote log server, I've tries modifying the /etc/syslog.conf file and
> > added the line below.
> > 
> > *.info;mail.none;authpriv.none;cron.none     @loghost;/var/log/messages
> > 
> > However it only sends the messages to the loghost not to both, is this
> > possible.  I am running SL Linux 3.0.4
> 
> You need separate lines.  I don't think ';' gets parsed to send to
> different destinations.

For clarity.

*.info;mail.none;authpriv.none;cron.none     @loghost
*.info;mail.none;authpriv.none;cron.none     /var/log/messages

should do the job.
-- 
Steve Traylen
[log in to unmask]
http://www.gridpp.ac.uk/

ATOM RSS1 RSS2