On Sun, 20 Mar 2005 13:23:41 +0200, Geula Stoliar <geulas@xxxxxxxxxxxxxxx> wrote: > Hi, > > >> Hi all, > >> > >> How do I get some of my printk messages to be directed to the console window as well as (or instead of) > >>going to /var/log/messages? > >> > >> I tried using the KERN_CRIT directive, as well as a few others, but nothing seems to work. > >> > >> My /proc/sys/kernel/printk looks like this: > >> > >> 6 4 1 7 > >> > > >I think you must see your syslog.conf > >man syslog.conf > > I defined kern.* to go to /dev/console in syslog.conf and now, printk messages appear on the screen, but only when I open a direct console window on the linux box itself. > > Is there a way to get them to display on any current terminal I am on at the moment, such as a telnet/ssh session or Xwindows terminal? this is what you are looking for: http://www.dirac.org/linux/writing/lkmpg/2.6/lkmpg-2.6.0.html#AEN1141 regards, AQ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/