From owner-freebsd-newbies@FreeBSD.ORG Thu Oct 14 11:30:43 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D23A16A4D1 for ; Thu, 14 Oct 2004 11:30:43 +0000 (GMT) Received: from ptb-relay03.plus.net (ptb-relay03.plus.net [212.159.14.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C14043D4C for ; Thu, 14 Oct 2004 11:30:43 +0000 (GMT) (envelope-from ml-freebsd-newbies@codepad.net) Received: from [80.229.159.44] (helo=hercules.codepad.net) by ptb-relay03.plus.net with esmtp (Exim) id 1CI3oe-0003XS-Hw for freebsd-newbies@freebsd.org; Thu, 14 Oct 2004 11:30:40 +0000 From: Xian To: freebsd-newbies@freebsd.org Date: Thu, 14 Oct 2004 12:30:15 +0100 User-Agent: KMail/1.5.4 References: <20041013191045.CC5F343D5E@mx1.FreeBSD.org> In-Reply-To: <20041013191045.CC5F343D5E@mx1.FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200410141230.15848.ml-freebsd-newbies@codepad.net> Subject: Re: how do I suppress system messages? X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2004 11:30:43 -0000 Disabling syslog compleatly sounds like a very bad idea as the system logs can contain useful information. You could try commenting out any lines in /etc/syslog.conf that end in /dev/ console. I think you have to restart syslogd after changing /etc/syslog.conf. On Wednesday 13 October 2004 20:09, Kevin Glick wrote: > Lynette, > > System messages print out to the console on tty0 only, by default. If you > want to use the console, switch to tty1 or above. Do this by ALT+2(tty1), > ALT+3(tty2), etc. > When you're in Vi, and syslog prints across the screen, using CTRL+L will > re-draw the screen, and remove the syslog messages. > If you want to get rid of the messages altogether, look into disabling > syslogd, via /etc/rc.conf. (Man syslogd, or check /etc/defaults/rc.conf > for syslogd. > > Kevin Glick > ITS Manager > Sterling Business Forms > keving@sbfnet.com > > > -----Original Message----- > From: owner-freebsd-newbies@freebsd.org > [mailto:owner-freebsd-newbies@freebsd.org] On Behalf Of Lynette Tillner > Sent: Wednesday, October 13, 2004 11:21 AM > To: freebsd-newbies@freebsd.org > Subject: how do I suppress system messages? > > This is something that drives me crazy but I've not been able to find a way > to stop it. > > When I log into my FreeBSD 4.6 Web Server as root, I get messages from > sendmail that I can't suppress with dmesg. They are a real pain because > they even come across the screen when I'm using VI to edit files and then I > can't figure out the line I was in the middle of editing, and end up doing > a > > :q! and starting over, very frustrating because we get tons of mail and it > > seems like I can't do anything as root because of these messages. > > Is there a command that will suppress the messages? I remember being able > to do that when I was working on an HP-UX system but haven't figured it out > under FreeBSD. > > Thanks for any help! > > Lynette > _______________________________________________ > freebsd-newbies@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-newbies > To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-newbies@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-newbies > To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org" -- /Xian [call sign: 2E1IPS] [web site: www.codepad.net] [email: ian@codepad.net]