Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!newsfeed.direct.ca!mr.net!news.maxwell.syr.edu!ais.net!ameritech.net!uunet!in1.uu.net!198.4.164.94!gail.ripco.com!news.fred.net!not-for-mail From: mcurry@fred.net ( ) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Supress console messages and send to a file? Date: 3 Mar 1997 15:42:57 GMT Organization: FredNet - Frederick, Md. Lines: 24 Message-ID: <5feri1$92j$2@news.fred.net> References: <33183412.2309156@news.eclipse.net> <5fcq6c$8u@uriah.heep.sax.de> NNTP-Posting-Host: bigdog.fred.net X-Newsreader: TIN [UNIX 1.3 950824BETA PL0] Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:36468 J Wunsch (j@uriah.heep.sax.de) wrote: : layne@cnj.digex.net (Darren Layne) wrote: : : > This is probably a dumb question with a simple solution, but is there : > any way to suppress console messages and have them rerouted to a file? : : Well, you can indeed redirect the entire console to something else, : xconsole is an example that does exactly this. : : > I use the system console as my primary terminal and am tired of : > getting interuppted by system level messages. : : ...but this is a totally different matter. RTFM syslog.conf(5). Too cryptic, j. :) The file, syslog.conf, contains a number of default directives concerning logging, error reports, and so forth. It also has the line that directs error reports and, more annoying for root logons, login messages of a routine nature (such as POP service calls). You can comment out the lines that annoy you, or you can hew to the party line and not login as root, but use username and su instead. Whatever...