install4j Slf4j Bridge

Bridges Slf4j logging to install4j’s log helpers (Util.log*).

Level Mapping

The install4j logging API only has INFO and ERROR level-like concepts. The bridge will map slf4j levels as follows:

  • TRACE uses Util.logInfo()
  • DEBUG uses Util.logInfo()
  • INFO uses Util.logInfo()
  • WARN uses Util.logInfo()
  • ERROR uses Util.logError()
  • Throwables use Util.log()

See com.install4j.api.Util for more details.

Enable Debug Logging

Debug logging can be enabled by setting system properties:

-Dorg.sonatype.install4j.slf4j.level=DEBUG

TODO

Add more docs on configuration and usage.