Chapter 7. Logging
This chapter provides a comprehensive description of the logging services available in EAP 7. Logging is a core element of server configuration: when done correctly, it allows us to monitor code behavior and find issues or bugs. A poorly configured logging system makes it more difficult to trace problems; on the other hand, overly verbose logging activity can take up a lot of your system resources. Hence, we need to focus on the resources we want a closer look at. Within this chapter, we will learn the default paths used by the server for logging events along with their configuration; next, we will discuss tools that you can use in the enterprise to manage all the information contained in the log files. We will cover the following topics:
Basic logging concepts
How to configure server logging
How to configure application logging
Building an advanced and scalable logging system