Skip to content
This repository was archived by the owner on Oct 4, 2024. It is now read-only.

Logging

hegjon edited this page Sep 20, 2011 · 4 revisions

Atm, logging seems a bit slapped onto MultiBit, mainly

  • Using sl4j-simple as a back-end for BitcoinJ logs
  • Could redirect the logging to log4j via slf4j log4j-12 binding
  • Using log4j as an API and backend for code in MultiBit
  • Could separate between the API and back-end

What is the long term goal for logging?

  • Seperate between the API and back-end
  • Get all logging into the same back-end
  • Do logging instead of Exception.printStacktrace() and System.out
  • Log4j is no longer being maintained, most swap to http://logback.qos.ch/ as backend (for sl4j users it is just to swap one jar in the classpath + changing the config)
Clone this wiki locally