From owner-freebsd-questions Sat Jan 26 7:40:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id 90FF837B402 for ; Sat, 26 Jan 2002 07:40:32 -0800 (PST) Received: (qmail 15051 invoked by uid 0); 26 Jan 2002 15:40:31 -0000 Received: from tk212017108240.univie.teleweb.at (HELO Deadcell.ANT) (212.17.108.240) by mail.gmx.net (mp020-rz3) with SMTP; 26 Jan 2002 15:40:31 -0000 Received: (from ant@localhost) by Deadcell.ANT (8.11.6/8.11.6) id g0QFeRR07212; Sat, 26 Jan 2002 16:40:27 +0100 (CET) (envelope-from ant) Date: Sat, 26 Jan 2002 16:40:27 +0100 From: Andreas Ntaflos To: Olaf Hoyer Cc: freebsd-questions@freebsd.org Subject: Re: Alternate logfile for log_in_vain Message-ID: <20020126164027.A1564@Deadcell.ANT> Mail-Followup-To: Olaf Hoyer , freebsd-questions@freebsd.org References: <20020126120912.S49715-100000@deckard.addix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020126120912.S49715-100000@deckard.addix.net>; from ohoyer@deckard.addix.net on Sat, Jan 26, 2002 at 12:11:39PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Jan 26, 2002 at 12:11:39PM +0100, Olaf Hoyer wrote: > > Well, I have a FreeBSD 4.4-R box running, and I just activated the options > log_in_vain via sysctl. > > Ok, it does what it is intended to do, but it clobbers up my > /var/log/messages. > > In which way might I redirect those output to, say, /var/log/log_in_vain? > > Any way to do it via some syslog entry? > Well I am not sure if there is a specific facility for log_in_vain, but you could, and should, log any kernel messages (and log_in_vain messages come from the kernel) to a specific file, kinda like this in syslog.conf: kern.* /var/log/kern.log #put kernel log stuff to kern.log kern.none /var/log/messages #don't log kernek stuff to messages That's all I can think of, but specifically logging log_in_vain would be more desireable. regards -- Andreas "ant" Ntaflos ntaflos.andreas@gmx.net Vienna, AUSTRIA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message