On April 6, 2019 2:02:27 AM UTC, Walter Dnes <waltd...@waltdnes.org> wrote:
>On Fri, Apr 05, 2019 at 11:41:33PM +0100, Mick wrote
>> On Friday, 5 April 2019 00:18:07 BST Walter Dnes wrote:
>> > I updated kernel a couple of weeks ago, and had to reboot. I'm
>not
>> > seeing any logging output on tty12. "tail /var/log/messages" shows
>that
>> > it is logging properly to the file. "/etc/init.d/syslog-ng
>restart"
>> > didn't help. To check that it wasn't corruption, I...
>> >
>> > * /etc/init.d/syslog-ng stop
>> > * emerge --unmerge syslog-ng
>> > * rm -rf /etc/syslog-ng
>> > * emerge --unmerge syslog-ng
>> > * /etc/init.d/syslog-ng start
>> >
>> > Still nothing on tty12. Any ideas?
>>
>> This entry in /etc/syslog-ng/syslog-ng.conf should do it:
>>
>> # By default messages are logged to tty12...
>> destination console_all { file("/dev/tty12"); };
>
> Already have that. Here's the entire file...
>
>######################################################################
>@version: 3.17
>#
># Syslog-ng default configuration file for Gentoo Linux
>
># https://bugs.gentoo.org/426814
>@include "scl.conf"
>
>options {
> threaded(yes);
> chain_hostnames(no);
>
> # The default action of syslog-ng is to log a STATS line
> # to the file every 10 minutes. That's pretty ugly after a while.
> # Change it to every 12 hours so you get a nice daily update of
> # how many messages syslog-ng missed (0).
> stats_freq(43200);
> # The default action of syslog-ng is to log a MARK line
> # to the file every 20 minutes. That's seems high for most
> # people so turn it down to once an hour. Set it to zero
> # if you don't want the functionality at all.
> mark_freq(3600);
>};
>
>source src { system(); internal(); };
>
>destination messages { file("/var/log/messages"); };
>
># By default messages are logged to tty12...
>destination console_all { file("/dev/tty12"); };
># ...if you intend to use /dev/console for programs like xconsole
># you can comment out the destination line above that references
>/dev/tty12
># and uncomment the line below.
>#destination console_all { file("/dev/console"); };
>
>log { source(src); destination(messages); };
>log { source(src); destination(console_all); };
>######################################################################
I remember once seeing an option somewhere specifying the amount of virtual
consoles. Maybe tty12 doesn't exist?
To check if it is something like this or something else, can you try tty1? (Be
ready to stop syslog without being able to read what you type if there is a lot
of logging)
--
Joost
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.