glassfish icon indicating copy to clipboard operation
glassfish copied to clipboard

Abandon LogDomains loggers and use System.Logger

Open dmatej opened this issue 3 years ago • 1 comments

Why

  1. It is really hard to find something when half of logger names is obfuscated by LogDomains
  2. Prefer System.Logger (with GJULE as a backend, but could use any logging framework with some limitations)
  3. Current state is a growing mess (take a look on logging.properties).
  4. System.Logger is already preferred.
  5. Usages are more readable. Some usages are pretty ineffective, they deserve review.

How

It will be a lot of work, but quite easy. Most of changes could be probably done by Eclipse regexp finder.

  1. First do https://github.com/eclipse-ee4j/glassfish/issues/23627, don't start with this without that.
  2. Relates to #24064 and should be done before that.
  3. Bind logger names to the class name (standard)
  4. Simplify usages (no array construction required)

dmatej avatar Nov 13 '22 19:11 dmatej

This issue has been marked as inactive and old and will be closed in 7 days if there is no further activity. If you want the issue to remain open please add a comment

github-actions[bot] avatar Oct 01 '24 00:10 github-actions[bot]