jbossas/jboss-as — pull request #4003 by jamezp (2013-02-04 22:57:08+00:00)
Title: Logging subsystem fixes and upgrades

This is a rather large pull request, my apologies in advance. Logging components were upgraded as well as ARQ tests added for testing custom handlers.

As part of the logmanager upgrade 4 other commits were added.

1. [AS7-6296] Removed the logmanager configuration implementations.
* This commit removes all logmanager configuration implementation from the AS7 code base.
* Previously the logmanager could not support using log4j appenders as custom handlers. This required the configuration implementations to be embedded into AS7. A POJO configuration was added to the logmanager which allows this to work.

2. [AS7-6307] Use new ContextSelector and register the logging API class loaders in the context loader. Prevents loggers from get created on the incorrect log context.
* This commit prevents loggers from getting created on the wrong log context. There were issues with logging-profile and per-deployment logging configurations where static server loggers specifically were created on a log context from a deployment.

3. Create a strong reference log context for log4j configurations.
* This fixes log4j loggers from getting prematurely garbage collected.

4. [AS7-6298] Added syslog handler configuration
* Just adds a syslog handler to the logging subsystem.