Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 May 2002 08:37:00 -0400
From:      "Brian P. Trotter" <btrotter@pobox.com>
To:        "Postman Pat" <lists@kentane.net>, <freebsd-newbies@FreeBSD.ORG>
Subject:   Re: more on syslog - logging different hosts to different files
Message-ID:  <02b001c2070d$875d8ea0$b701010a@chtlt033>
References:   <20020529114205.6232.qmail@easy30a.your-server.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
How about having all the logs go to one central log. Then have a script that
runs every couple minutes that greps the log for hostA and sends it to
host.log, and greps for hostB and sends it to hostb.log?


----- Original Message -----
From: "Postman Pat" <lists@kentane.net>
To: <freebsd-newbies@FreeBSD.ORG>
Sent: Wednesday, May 29, 2002 7:42 AM
Subject: more on syslog - logging different hosts to different files


> Greetings,
> I would like to do the following:
> HOST_A logs go to /var/log/host_a.log
> HOST_B logs go to /var/log/host_b.log.
>
> The syslog server has already been setup for remote syslog and is
> receiving the logs and sending them to /var/log/messages.
>
> Any ideas how I do achieve this?
>
> Regards
>
> LK
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-newbies" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02b001c2070d$875d8ea0$b701010a>