6.1. Do You Need Logging?

Before getting into the mechanics of logging, let's discuss why you might want logging on your appliance.


The number one reason for logging is to increase the system availability of your appliance. Proper routing and displaying of log messages like CPU fan speed below 1000 RPM can help your end users keep their systems up and running. A regression or trend analysis of the system's collected log messages can help identify problems before they interrupt service. Trend analysis is particularly useful in spotting problems with fans, disks, and power supplies.


If your appliance is on a network, it will almost certainly come under attack at some point. You can use log messages to trigger changes in the firewall ...

Get Linux Appliance Design now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.