Add an adapter to force JGroups to use SLF4J for logging/tracing

Adds a custom log factory which when configured forces JGroups to use
SLF4J to emit logging/tracing. This can be helpful when gerrit is
running in a runtime environment which supports SLF4J logging.
This logging Factory is used by default for jgroups logs.

To override this default factory and specify another log factory
set the following system property:

-Djgroups.logging.log_factory_class=<YourLogFactoryClass>

Change-Id: I9a395c06eb5686b6deab530916327c32f7a42718
3 files changed
tree: d8cc4410cd9194a878725be1a24429fd0f0258ad
  1. .buckconfig
  2. .gitignore
  3. .mailmap
  4. BUCK
  5. lib/
  6. src/