Sending system logs to serial port
Hello all,
I'm having trouble finding specific answers. I want my system logs (e.g. the messages that run during a verbose startup) to be output to the normal place (for instance, tty1 or wherever) as well as to /dev/ttyS0 or /dev/ttyS1. I have found how to enable a console on ttyS0, and have done so to successfully log in and run commands, etc., but I have been unable to find how to pipe the logs to the serial port for to watch them during startup, shutdown, etc.
End result, I want to be able to connect another computer/terminal to my com port, and watch logs on it while doing normal activities on the Linux host. e.g., if the system is so unresponsive as to appear locked up, and no keystrokes on my keyboard work (including CTL-ALT-F1 or CTL-ALT-DEL), I want to see on the serial-connected device if the system really is that hosed before I pull the power to reset it.
Thanks in advance for any advice you can give...
|