Date: Fri, 14 Jan 2005 09:26:44 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: Ricardo Pichler <linux@pichler.com.br> Cc: freebsd-questions@freebsd.org Subject: Re: Syslog server. Message-ID: <20050114152644.GA73493@dan.emsphone.com> In-Reply-To: <018601c4fa42$cf58def0$8b0aa8c0@pichler> References: <013701c4fa3d$aa85c8e0$8b0aa8c0@pichler> <018601c4fa42$cf58def0$8b0aa8c0@pichler>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jan 14), Ricardo Pichler said: > > I've an slackware box that your main function is be a syslog > > server! Ok, it work, but I need to separate the log for each box > > that I've in files with the same name of box. Can anybody help me? > > > > e.g.: an entry in my /var/log/messages: > > Jan 13 18:11:49 ns500 ns500-sjc: NetScreen device_id=ns500-sjc [Root]system-notification-00018: Policy ...... > > Sorry, my box is a FreeBSD 5.2.1. You can use hostname specifications to filter by dns name or IP: +ns500 *.* /var/log/machine/ns500 You will need one of these blocks per machine, though. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050114152644.GA73493>