From owner-freebsd-questions@FreeBSD.ORG Wed Oct 13 22:35:44 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E30A216A4CE for ; Wed, 13 Oct 2004 22:35:44 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A08643D1F for ; Wed, 13 Oct 2004 22:35:44 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 13 Oct 2004 17:36:36 -0500 Message-ID: <416DADBD.10000@daleco.biz> Date: Wed, 13 Oct 2004 17:35:41 -0500 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7) Gecko/20040712 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Glick References: <20041013191045.CC5F343D5E@mx1.FreeBSD.org> In-Reply-To: <20041013191045.CC5F343D5E@mx1.FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Oct 2004 22:36:36.0784 (UTC) FILETIME=[195A1300:01C4B175] cc: ltillner@avs-1.com cc: questions@freebsd.org Subject: Re: how do I suppress system messages? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2004 22:35:45 -0000 -----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 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 > > Some good advice here, for sure, but does she really want to disable syslogd, unless the only service she really cares about on this box is http (and unless she'd disabled a lot of stuff, it probably isn't...)?? IIRC, in /etc/syslog.conf, instruction is given on how to redirect ttyv0 output to /var/log/console.log, which seems a better option. Disabling syslogd would ((probably)) stop logging of some useful information (like auth.info) as well as the sendmail output that's "driving her crazy". Disclaimer: I'm not an expert, and don't [exactly] play one on questions@ ... My $0.02, Kevin Kinsey