When per-deployment logging or logging-profiles are used on a deployment the undeploy is not removing the class loaders from the LogContextSelector. The error appeared when the switch was made to use the ClassLoaderLogContextSelector which uses the call stack to determine the LogContext. The commit hash is 526c2ae7a4194dc6b787c32c5218cea003276900 that introduced the error. The bug appears in 6.1.x and 6.2.x.
*** Bug 1049138 has been marked as a duplicate of this bug. ***
Verified with EAP 6.3.0 DR0