Book Image

WildFly: New Features

By : Filippe C Spolti
Book Image

WildFly: New Features

By: Filippe C Spolti

Overview of this book

Table of Contents (13 chapters)
WildFly: New Features
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

WildFly logging


The logging service is extremely important for any type of application server and also other types of servers. It is through it that we can check on the status of the application server and also the applications. The resolution of errors is also directly linked to the logs because it is through them that we know which errors are occurring and from there can look for a solution.

The configuration of logging in WildFly is done by the logging subsystem that is configured in the standalone.xml files when we're running standalone and in domain.xml files when we're running in the domain mode.

The logging subsystem has three main components that we should be aware of:

  • Handlers: These define how a particular event is logged. We have the following handlers:

    • Console: This handler records events only in the currently open console. If no console is available, it will not print generated log events for this handler.

    • File: This handler registers the events in a file. It is possible to create...