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/