Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2002 15:26:28 +0100 (CET)
From:      Olaf Hoyer <ohoyer@deckard.addix.net>
To:        Andreas Ntaflos <ntaflos.andreas@gmx.net>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: Alternate logfile for log_in_vain
Message-ID:  <20020127152512.D51898-100000@deckard.addix.net>
In-Reply-To: <20020126164027.A1564@Deadcell.ANT>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 26 Jan 2002, Andreas Ntaflos wrote:

> 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
>
Hi!

Well, exactly thats what I wanted. I figured out the first one myself
about an hour after writing this, but will play with the second line a
bit...

Thanks a lot
Olaf


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?20020127152512.D51898-100000>