Chapter 4. Managing the Logging Subsystem with the CLI

In this chapter, you will cover the following topics:

  • Creating a file-handler logging
  • Creating a periodic-rotating file-handler
  • Creating a size-rotating file-handler
  • Defining asynchronous handlers
  • Creating a syslog-handler
  • Listing and reading log files
  • Using a different logging implementation

Introduction

The logging subsystem is where you can configure the information statements of WildFly and your application, for debugging and auditing purposes.

WildFly comes with a default configuration, which can be found in the configuration folder of both the standalone and domain directories. The default configuration automatically logs the information on the console and on a file named server.log.

As you will ...

Get WildFly Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.