13.4. Logging Profiles
13.4.1. About Logging Profiles
Logging Profiles are only available in version 6.1.0 and later.
Logging Profiles are independent sets of logging configuration that can be assigned to deployed applications. A logging profile can define handlers, categories and a root logger just like the regular logging subsystem but cannot refer to configuration in other profiles or the main logging subsystem. The design of logging profiles mimics the logging subsystem for ease of configuration.
The use of logging profiles allows administrators to create logging configuration that is specific to one or more applications without affecting any other logging configuration. Because each profile is defined in the server configuration it means that the logging configuration can be changed without requiring that the affected applications be re-deployed.
Each logging profile can have the following configuration:
- A unique name. This is required.
- Any number of log handlers.
- Any number of log categories.
- Up to one root logger.
An application can specify a logging profile to use in it's MANIFEST.MF file, using the Logging-profile attribute.
Logging profiles cannot be configured using the management console.