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); }; ###################################################################### -- Walter Dnes <waltd...@waltdnes.org> I don't run "desktop environments"; I run useful applications