In previous chapters we put a lot of emphasis on dashboards. Looking at the system in real time as it reacts to commands or internal changes is extremely beneficial, but it’s only one way to observe a system. Often, the things that we want to observe either happen when we’re not looking or just happen too fast. This is why logging – keeping a record of what the system did or tried to do but failed – is just as important.
In this chapter we’ll discuss some key aspects of logging: we’ll discuss what can be done with log messages, how to prevent log files from clogging the hard drive, and how to ...