Application Logging
Building any kind of application to fulfill a user’s need is one piece of the puzzle; another piece is figuring out how we are going to design it so that we can support it in case there are issues in production. Logging is one of the most important things that need to be thought about thoroughly to allow some visibility when a problem arises. Application logging is the process of saving application events and errors; put simply, it produces a file that contains information about events that occur in your software application. Supporting applications in production requires a quick turnaround, and to achieve this, sufficient information should be logged by the application.
In this chapter, we will look at building a logging server that will be used to log events (e.g., errors) from our application. We will also learn how to multiplex logging to allow us to log different events based on how we configure it. We will cover the following in this chapter:
...