Date: Thu, 22 May 2003 15:46:05 +0100 From: Jez Hancock <jez.hancock@munk.nu> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: root msgs on ttyv0.. Message-ID: <20030522144605.GE24204@users.munk.nu> In-Reply-To: <20030522121912.GA14891@lothlorien.nagual.st> References: <20030522103716.GA47876@pooh.nagual.st> <20030522111325.GA22219@users.munk.nu> <20030522121912.GA14891@lothlorien.nagual.st>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 22, 2003 at 02:19:12PM +0200, dick hoogendijk wrote: > On 22 May Jez Hancock wrote: > > Yes, read the manpage: man syslogd.conf > > Specifically try changing this line: > > *.err;kern.debug;auth.notice;mail.crit /dev/console > > I think I don't mind the messages, but they're on the "wrong tty" > Having read man syslog.conf and /dev/MAKEDEV I think it's possible to > have /dev/console point to another tty.. > # "makedev console c 11 0" would appoint ttyv11 to console if I > understand correctly (?) That sounds feasible(!). I was wondering myself what determines where msgs to /dev/console were sent when I read my own /etc/syslog.conf file just before replying earlier... > Is this true? Can /dev/console be "connected" to ttyv11 instead of the > first one? I remember at one point I tried outputting everything to ttyv7 as well as to /var/messages, which worked quite nicely, flicking 'alt-f8' to switch over to see a decent amount of info... perhaps try it yourself? See how it goes. There's quite a lot to syslogd, I only ever got as far as adding custom lines for specific facilities to output info to other files: console.info /var/log/console.log *.*;local0.none /var/log/all.log !qpopper *.* /var/log/qpopper.log !ipmon *.* /var/log/ipmon.log !proftpd *.* /var/log/ftp.log !oidentd *.* /var/log/oidentd.log etc etc... See how it goes :) Best regards, Jez
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030522144605.GE24204>