Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] syslog-ng not outputting to tty12
Date: Sat, 06 Apr 2019 09:40:52
Message-Id: 1678504.3Uvon9qJd1@dell_xps
In Reply to: Re: [gentoo-user] syslog-ng not outputting to tty12 by "J. Roeleveld"
1 On Saturday, 6 April 2019 07:47:30 BST J. Roeleveld wrote:
2 > On April 6, 2019 2:02:27 AM UTC, Walter Dnes <waltdnes@××××××××.org> wrote:
3 > >On Fri, Apr 05, 2019 at 11:41:33PM +0100, Mick wrote
4
5 > >> This entry in /etc/syslog-ng/syslog-ng.conf should do it:
6 > >>
7 > >> # By default messages are logged to tty12...
8 > >> destination console_all { file("/dev/tty12"); };
9 > >>
10 > > Already have that. Here's the entire file...
11 [snip ...]
12
13 > I remember once seeing an option somewhere specifying the amount of virtual
14 > consoles. Maybe tty12 doesn't exist?
15 >
16 > To check if it is something like this or something else, can you try tty1?
17 > (Be ready to stop syslog without being able to read what you type if there
18 > is a lot of logging)
19 >
20 > --
21 > Joost
22
23 Right, as Joost points out if there is no tty12 specified you won't have one
24 to display syslog-ng. Check your /etc/rc.conf for this entry:
25
26 # on Linux and Hurd, this is the number of ttys allocated for logins
27 # It is used in the consolefont, keymaps, numlock and termencoding
28 # service scripts.
29 rc_tty_number=12
30
31 --
32 Regards,
33 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] syslog-ng not outputting to tty12 Walter Dnes <waltdnes@××××××××.org>