eclipse-ee4j / eclipse-ee4j/genericmessagingra

GenericJMSRA would benefit from separately configurable loggers

Open
#59 3 comments 0 reactions 1 assignee Claimed by @glassfishrobot View on GitHub
Component: core Priority: Minor Type: Improvement
Dominant language
Java
Stars
2
Forks
5
PR merge metrics
No merged PRs in 30d

Description

The present GenericJMSRA implementation uses a single java.util.logging.Logger, identified by its name "com.sun.genericjmsra", for all logging purposes.

(NB This is true even when the resource adapter is deployed multiple times within a single application server, which apparently was never intended but which otherwise works just fine on GlassFish 2 and 3.)

It would be desirable to create multiple (child) loggers so that each Admin Object (for outbound queues/topics) or ActivationSpec (for inbound ones) could have its own log level setting and so that log entries originating with different queues/topics could be correlated with separate logger names. The current situation results in confusing and less-than-truly-helpful server logs in real-world situations when multiple inbound and outbound queues are involved and the (global) log level is cranked up for troubleshooting.
#### Environment
GlassFish (2.1.1 or 3.1.2), Linux (SLES10SP2, SLES11SP2), x86_64
#### Affected Versions
[0.9, 1.0a, 1.0, v1.5, 1.5, v1.6, 1.6, 2.1a, 2.1b, current, 2.2a]

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.