Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 1996 20:49:57 -0400 (EDT)
From:      Barry Masterson <jbarrm@panix.com>
To:        Brett Glass <Brett_Glass@ccgate.infoworld.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Console messages
Message-ID:  <Pine.SUN.3.91.960415204318.26890A-100000@panix.com>
In-Reply-To: <9603158295.AA829596515@ccgate.infoworld.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sun, 14 Apr 1996, Brett Glass wrote:

> When I'm working at the system console under FreeBSD 2.1.0-RELEASE, kernel
> messages pop up on the screen and interrupt my work. Is there a way to
> direct these messages to a single virtual console (The kernel is built for
> four right now) rather than to whichever virtual console I'm working on?
> This way, I could switch to one of the virtual consoles (say, ttyv0) to see
> the messages, but would not be interrupted when I was working in
> another....
> 
> --Brett Glass
> 

The file you need to work on is /etc/syslog.conf


*.err;kern.debug;mail.crit;*.crit		/dev/console
*.notice;kern.debug;lpr,auth.info;mail.crit	/var/log/messages
mail.info					/var/log/maillog
lpr.info					/var/log/lpd-errs
cron.*						/var/cron/log
*.err						/dev/ttyv6
*.notice;auth.debug				/dev/ttyv6
*.alert						/dev/ttyv6
*.emerg						*
ftp.info					/var/log/ftpd

Choose your tty, and place it in the syslog.conf file. I think thats
all there is to it. Some of those kernel messages may be helpful though.

Barry Masterson
jbarrm@panix.com
>--->--->--->--->--->
  FreeBSD     2.1.0
<---<---<---<---<---<




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.960415204318.26890A-100000>