[NTLUG:Discuss] Logging Question
Wayne Walker
wwalker at bybent.com
Mon Feb 12 08:07:01 CST 2007
If there is nothing in /var/log/messages, then log into the machine from
another machine and run "tty".
now edit /etc/syslog.conf
add a line like this using the response from tty:
*.* /dev/pts/6
restart syslog
/etc/init.d/syslog restart
Now all messages sent via syslog will go to that tty and therefore will
be seen in that login window after the machine shuts down.
On Sun, Feb 11, 2007 at 04:32:51PM -0600, Dennis Myhand wrote:
> Is there a way I can turn something on which will log what is happening
> on a machine which shuts down at random? I am having a little problem
> and I want to find out what is going on. Thanks, Dennis
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
--
Wayne Walker
www.unwiredbuyer.com - when you just can't be by the computer
wwalker at bybent.com Do you use Linux?!
http://www.bybent.com Get Counted! http://counter.li.org/
Perl - http://www.perl.org/ Perl User Groups - http://www.pm.org/
Jabber: wwalker at jabber.gnumber.com AIM: lwwalkerbybent
IRC: wwalker on freenode.net
More information about the Discuss
mailing list