Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2002 16:40:27 +0100
From:      Andreas Ntaflos <ntaflos.andreas@gmx.net>
To:        Olaf Hoyer <ohoyer@deckard.addix.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Alternate logfile for log_in_vain
Message-ID:  <20020126164027.A1564@Deadcell.ANT>
In-Reply-To: <20020126120912.S49715-100000@deckard.addix.net>; from ohoyer@deckard.addix.net on Sat, Jan 26, 2002 at 12:11:39PM %2B0100
References:  <20020126120912.S49715-100000@deckard.addix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020126164027.A1564>