Debug output options

Did you know that you can look at serial debugging output even if you don’t have anything hooked up to the serial port? The command tail shows you the end of a file, and if you use the -f option it continues showing lines as they are added to the file. If you turned on serial debugging at boot by hitting Delete or F1, you can type

tail -f /var/log/syslog

into a Terminal to watch serial debug output as it happens.
You may also want to check out the kernel settings file in /boot/home/config/settings/kernel/drivers/sample/. If you make it an active settings file by moving it up to the drivers directory, you can control the behavior of syslog and serial debug output without having to remember which keys to hold down when.



No comments so far.

(comments are closed)